Enable metrics on /metrics, add '--environment' flag, add 'xxx_info' gauge
Showing
- go.mod 2 additions, 1 deletiongo.mod
- go.sum 228 additions, 0 deletionsgo.sum
- prometheus_middleware.go 31 additions, 0 deletionsprometheus_middleware.go
- server.go 5 additions, 0 deletionsserver.go
- templates/server/cmd.gotmpl 16 additions, 1 deletiontemplates/server/cmd.gotmpl
- templates/server/cmdServe.gotmpl 16 additions, 0 deletionstemplates/server/cmdServe.gotmpl
This diff is collapsed.
prometheus_middleware.go
0 → 100644
Please register or sign in to comment