mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
20 lines
381 B
YAML
20 lines
381 B
YAML
endpoint:
|
|
url: http://localhost:8080/swagger
|
|
method: GET
|
|
timeout: 0.01
|
|
expectation:
|
|
- type: HTTP_STATUS
|
|
status: 200
|
|
- 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
|
|
create_incident: true
|
|
update_status: true
|
|
frequency: 30
|