More unique metric name; comment

This commit is contained in:
Daniel Krol 2022-07-23 16:44:11 -04:00
parent 41b14dad44
commit 36659ef720

View file

@ -7,7 +7,10 @@ import (
var ( var (
RequestsCount = prometheus.NewCounterVec( RequestsCount = prometheus.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "requests_count", Name: "wallet_sync_requests_count",
// TODO For some reason, help text nor type seem to show up in
// Prometheus?
Help: "Total number of requests to various endpoints", Help: "Total number of requests to various endpoints",
}, },
[]string{"method"}, []string{"method"},