mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
* 21 - Improving exception when an invalid type is used in the config * Bumping the version
27 lines
563 B
YAML
27 lines
563 B
YAML
endpoints:
|
|
- name: foo
|
|
url: http://localhost:8080/swagger
|
|
method: GET
|
|
header:
|
|
SOME-HEADER: SOME-VALUE
|
|
timeout: 0.01
|
|
expectation:
|
|
- type: HTTP_STATUS
|
|
status_range: 200-300
|
|
incident: MAJOR
|
|
- type: LATENCY
|
|
threshold: 1
|
|
- type: REGEX
|
|
regex: '.*(<body).*'
|
|
allowed_fails: 0
|
|
component_id: 1
|
|
action:
|
|
- CREATE_INCIDENT
|
|
- UPDATE_STATUS
|
|
public_incidents: true
|
|
latency_unit: ms
|
|
frequency: 30
|
|
cachet:
|
|
api_url: https://demo.cachethq.io/api/v1
|
|
token: my_token
|