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

34 lines
851 B
YAML
Raw Normal View History

2019-11-16 21:49:19 +00:00
metrics: true
2019-09-06 04:01:48 +00:00
services:
- name: twinnation
url: "https://twinnation.org/health"
2020-08-15 20:59:05 +00:00
interval: 30s
conditions:
- "[STATUS] == 200"
- "[BODY].status == UP"
- "[RESPONSE_TIME] < 1000"
2020-09-15 00:05:00 +00:00
- name: cat-fact
url: "https://cat-fact.herokuapp.com/facts/random"
interval: 1m
conditions:
- "[STATUS] == 200"
2020-09-15 00:05:00 +00:00
- "[BODY].deleted == false"
- "len([BODY].text) > 0"
kubernetes:
cluster-mode: "out"
auto-discover: true
service-suffix: ".services.svc.cluster.local"
exclude-suffix:
- primary
- canary
service-template:
interval: 30s
conditions:
- "[STATUS] == 200"
namespaces:
- name: databases
service-suffix: "databases.svc.cluster.local"
health-api: "/health"
- name: services
service-suffix: "services.svc.cluster.local"
health-api: "/health"