1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/config.yaml
2020-10-30 21:01:12 +05:30

30 lines
No EOL
625 B
YAML

metrics: true
services:
- name: twinnation
url: "https://twinnation.org/health"
interval: 30s
conditions:
- "[STATUS] == 200"
- "[BODY].status == UP"
- "[RESPONSE_TIME] < 1000"
- name: cat-fact
url: "https://cat-fact.herokuapp.com/facts/random"
interval: 1m
conditions:
- "[STATUS] == 200"
- "[BODY].deleted == false"
- "len([BODY].text) > 0"
auto-discover-k8s-services: true
k8s-service-suffix: ".svc.environment.local"
k8s-service-config:
interval: 30s
conditions:
- "[STATUS] == 200"
exclude-suffix:
- primary
- canary
k8s-cluster-mode: "out"