mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-24 17:04:42 +01:00
bec2820969
ref: https://github.com/TwiN/gatus/issues/151#issuecomment-912932934 update all exmaple in docker-compose file. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> |
||
---|---|---|
.. | ||
config | ||
grafana | ||
prometheus | ||
docker-compose.yml | ||
README.md |
Usage
docker-compose up
Once you've done the above, you should be able to access the Grafana dashboard at http://localhost:3000
.
Queries
Gatus uses Prometheus counters.
Total results per minute:
sum(rate(gatus_results_total[5m])*60) by (key)
Total successful results per minute:
sum(rate(gatus_results_total{success="true"}[5m])*60) by (key)
Total unsuccessful results per minute:
sum(rate(gatus_results_total{success="true"}[5m])*60) by (key)