Update example config

This commit is contained in:
TwinProduction 2020-09-14 20:05:00 -04:00
parent 9f8a74f5b1
commit cf6a74f862

View File

@ -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"