mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-24 15:49:09 +01:00
34 lines
783 B
YAML
34 lines
783 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
|
|
excluded-service-suffixes:
|
|
- canary
|
|
service-template:
|
|
interval: 30s
|
|
conditions:
|
|
- "[STATUS] == 200"
|
|
namespaces:
|
|
- name: default
|
|
hostname-suffix: ".default.svc.cluster.local"
|
|
target-path: "/health"
|
|
excluded-services:
|
|
- gatus
|
|
- kubernetes
|
|
- twinnation |