alerta-contrib/integrations/urlmon/settings.py
skob d89e15ecac Ability to set up differents api-endpoints for differents check in urlmon (#196)
* fix

* comments

* forward plugin: [fix] ability to configure via env + refactor via @satterly comment

* forward: [fix] some bugs with forwarding

* urlmon: [impr] Ability to set differents endpoints for checkers
2018-06-12 23:34:07 +02:00

23 lines
577 B
Python

# ENDPOINT = "http://10.0.2.2:8080"
ENDPOINT = "http://localhost:8080"
API_KEY = None
checks = [
{
"resource": "www.google.com",
"url": "http://www.google.com?q=foo#q=foo",
"environment": "Production",
"service": ["Google", "Search"]
"api_endpoint": "http://localhost:8080",
"api_key": None
},
{
"resource": "guardian-football",
"url": "http://www.guardian.co.uk/football",
"environment": "Production",
"service": ["theguardian.com", "Sport"],
"tags": ["football"]
},
]