updated incorrect metric help message

This commit is contained in:
yusing 2024-11-13 04:46:31 +08:00
parent 25a2de2a90
commit b162dcbfbe

View file

@ -65,7 +65,7 @@ func initRouteMetrics() {
Namespace: routerNamespace, Namespace: routerNamespace,
Subsystem: routerHTTPSubsystem, Subsystem: routerHTTPSubsystem,
Name: "req_total", Name: "req_total",
Help: "How many requests processed" + partitionsHelp, Help: "How many requests processed in total",
}), }),
HTTP2xx3xx: NewCounter(prometheus.CounterOpts{ HTTP2xx3xx: NewCounter(prometheus.CounterOpts{
Namespace: routerNamespace, Namespace: routerNamespace,