2019-11-16 21:49:19 +00:00
|
|
|
metrics: true
|
2019-09-06 04:01:48 +00:00
|
|
|
services:
|
2020-04-15 00:13:06 +00:00
|
|
|
- name: twinnation
|
2020-09-26 18:23:43 +00:00
|
|
|
url: "https://twinnation.org/health"
|
2020-08-15 20:59:05 +00:00
|
|
|
interval: 30s
|
2020-04-15 00:13:06 +00:00
|
|
|
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"
|
2020-09-26 18:23:43 +00:00
|
|
|
interval: 1m
|
2020-04-15 00:13:06 +00:00
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
2020-09-15 00:05:00 +00:00
|
|
|
- "[BODY].deleted == false"
|
2020-10-30 15:30:03 +00:00
|
|
|
- "len([BODY].text) > 0"
|
2020-11-11 17:40:06 +00:00
|
|
|
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"
|