Monitoring stack comprised of Grafana/Prometheus/Golang
- Startup
# Spin up the exporter
# check promhttp_metric_handler_requests_total{code="200"} metric
docker run --rm -p 5000:5000 dejanualex/go_promexporter:1.0
# Spin up the stack
# check config
docker-compose -f docker-compose.yml config
# start in foreground
docker-compose -f docker-compose.yml up --remove-orphans
# stop services
docker-compose -f docker-compose.yml down-
Prometheus available on 9090
-
Grafana available on 3000
-
Go web-app/exporter available on 5000
- Check
promhttp_metric_handler_requests_totalstandard Prometheus Go client counter metric that tracks the total number of HTTP requests made to an application's/metric - Check series
promhttp_metric_handler_requests_total{instance="goexporter:5000"}anddocker restart localgoexporterto reset the counter
- Check
-
Grafana quick dashboard, check for Node Exporter Full
