docs(metrics): Update Grafana/Prometheus example

This commit is contained in:
TwiN
2022-06-18 12:42:41 -04:00
parent 829a9c2679
commit 7215aa4bd6
5 changed files with 315 additions and 109 deletions

View File

@ -2,15 +2,18 @@ metrics: true
endpoints:
- name: website
url: https://twin.sh/health
interval: 30s
interval: 5m
conditions:
- "[STATUS] == 200"
- name: example
url: https://example.com/
interval: 5m
conditions:
- "[STATUS] == 200"
- name: github
url: https://api.github.com/healthz
interval: 5m
conditions:
- "[STATUS] == 200"
- name: example
url: https://example.com/
conditions:
- "[STATUS] == 200"