From cf6a74f862f0158388253b82feee9fa670002407 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Mon, 14 Sep 2020 20:05:00 -0400 Subject: [PATCH] Update example config --- config.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/config.yaml b/config.yaml index fbdeb567..41ec50cd 100644 --- a/config.yaml +++ b/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" \ No newline at end of file + - "[BODY].deleted == false" + - "len([BODY].text) > 0" \ No newline at end of file