mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 23:43:27 +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"
|
||||
- "[BODY].status == UP"
|
||||
- "[RESPONSE_TIME] < 1000"
|
||||
- name: twinnation-articles-api
|
||||
interval: 30s
|
||||
url: "https://twinnation.org/api/v1/articles/24"
|
||||
- name: cat-fact
|
||||
interval: 1m
|
||||
url: "https://cat-fact.herokuapp.com/facts/random"
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[BODY].id == 24"
|
||||
- "[BODY].tags[0] == spring"
|
||||
- "len([BODY].tags) > 0"
|
||||
- "[BODY].deleted == false"
|
||||
- "len([BODY].text) > 0"
|
Loading…
Reference in New Issue
Block a user