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