You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a conflict with the library "go-http-metrics/middleware" used for gin server request metrics. please add the possibility to change the name or add a custom prefix.
below the error:
panic: a previously registered descriptor with the same fully-qualified name as Desc{fqName: "http_request_duration_seconds", help: "The latency of the HTTP requests.", constLabels:
{}, variableLabels: [service handler method code]} has different label names or a different help string
There is a conflict with the library "go-http-metrics/middleware" used for gin server request metrics. please add the possibility to change the name or add a custom prefix.
below the error:
panic: a previously registered descriptor with the same fully-qualified name as Desc{fqName: "http_request_duration_seconds", help: "The latency of the HTTP requests.", constLabels:
{}, variableLabels: [service handler method code]} has different label names or a different help string
goroutine 1 [running]:
github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc00048d500, {0xc0000121e0, 0x3, 0x0})
go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:403 +0x7f
github.com/slok/go-http-metrics/metrics/prometheus.NewRecorder({{0x0, 0x0}, {0x1da5680, 0xb, 0xb}, {0xc00000e080, 0x8, 0x8}, {0x17f44f0, 0xc00009c050}, ...})
/go/pkg/mod/github.com/slok/[email protected]/metrics/prometheus/prometheus.go:101 +0x5a9
The text was updated successfully, but these errors were encountered: