2019-11-16 22:49:19 +01:00
|
|
|
metrics: true
|
2019-09-06 06:01:48 +02:00
|
|
|
services:
|
2020-04-15 02:13:06 +02:00
|
|
|
- name: twinnation
|
2020-08-15 22:59:05 +02:00
|
|
|
interval: 30s
|
2020-04-15 02:13:06 +02:00
|
|
|
url: https://twinnation.org/health
|
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
- "[BODY].status == UP"
|
|
|
|
- "[RESPONSE_TIME] < 1000"
|
2020-04-15 01:20:00 +02:00
|
|
|
- name: twinnation-articles-api
|
2020-08-15 22:59:05 +02:00
|
|
|
interval: 30s
|
2020-04-15 02:13:06 +02:00
|
|
|
url: https://twinnation.org/api/v1/articles/24
|
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
- "[BODY].id == 24"
|
|
|
|
- "[BODY].tags[0] == spring"
|
2020-08-13 03:42:13 +02:00
|
|
|
- "len([BODY].tags) > 0"
|