mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-29 03:14:17 +01:00
Update example config
This commit is contained in:
parent
9f8a74f5b1
commit
cf6a74f862
11
config.yaml
11
config.yaml
@ -7,11 +7,10 @@ services:
|
|||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
- "[BODY].status == UP"
|
- "[BODY].status == UP"
|
||||||
- "[RESPONSE_TIME] < 1000"
|
- "[RESPONSE_TIME] < 1000"
|
||||||
- name: twinnation-articles-api
|
- name: cat-fact
|
||||||
interval: 30s
|
interval: 1m
|
||||||
url: "https://twinnation.org/api/v1/articles/24"
|
url: "https://cat-fact.herokuapp.com/facts/random"
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
- "[BODY].id == 24"
|
- "[BODY].deleted == false"
|
||||||
- "[BODY].tags[0] == spring"
|
- "len([BODY].text) > 0"
|
||||||
- "len([BODY].tags) > 0"
|
|
Loading…
Reference in New Issue
Block a user