Files
cachet-url-monitor/config.yml
Patrick Fruh f1e69bf39b Fixed metric latency unit and logging (#49)
* move latency_unit into cachet dictionary

* log actual metric latency_unit

* also update config in readme

* also update config description in readme
2019-02-24 21:59:02 -08:00

24 lines
460 B
YAML

endpoint:
url: http://localhost:8080/swagger
method: GET
timeout: 0.01
expectation:
- type: HTTP_STATUS
status_range: 200-300
- type: LATENCY
threshold: 1
- type: REGEX
regex: '.*(<body).*'
allowed_fails: 0
cachet:
api_url: https://demo.cachethq.io/api/v1
token: my_token
component_id: 1
#metric_id: 1
action:
- CREATE_INCIDENT
- UPDATE_STATUS
public_incidents: true
latency_unit: ms
frequency: 30