shop-metrics
is a simple Go application to demonstrate how to expose Prometheus metrics. It allows you to adjust a global speed
variable via /faster
and /slower
endpoints.
/
- Welcome message/faster
- Increases thespeed
/slower
- Decreases thespeed
/metrics
- Exposes Prometheus metrics
go run main.go