gatus/.examples/docker-compose-grafana-prometheus
Bo-Yi Wu bec2820969
docs(example): move config.yaml to config folder (#265)
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>
2022-03-20 00:04:13 -04:00
..
config docs(example): move config.yaml to config folder (#265) 2022-03-20 00:04:13 -04:00
grafana BREAKING: Replace metrics 2021-12-13 19:38:20 -05:00
prometheus #167: Rename examples/ to .examples/ 2021-10-24 15:20:39 -04:00
docker-compose.yml docs(example): move config.yaml to config folder (#265) 2022-03-20 00:04:13 -04:00
README.md BREAKING: Replace metrics 2021-12-13 19:38:20 -05:00

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)