Files
cachet-url-monitor/config.yml

23 lines
439 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).*'
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
frequency: 30
latency_unit: ms