mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
34 lines
No EOL
851 B
YAML
34 lines
No EOL
851 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"
|
|
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" |