Skip to content
Snippets Groups Projects
Commit e7f5498a authored by Aleksandr Popov's avatar Aleksandr Popov
Browse files

Merge branch '15.0.x/EFA-6034' into '15.0.x/release'

15.0.x/EFA-6034: Падает ошибка по метрике http_requests_total при сборе метрик с auth-api

See merge request effectivex/go-kit!107
parents 25f4ba55 3a7fbebe
No related merge requests found
......@@ -59,7 +59,7 @@ func NewMetricsMiddleware(opts ...MetricsMiddlewareOption) func(http.Handler) ht
rww := NewResponseWrapper(w)
defer func() {
labelValues := []string{r.Method, r.URL.Path, fmt.Sprintf("%d", rww.statusCode)}
labelValues := []string{fmt.Sprintf("%s", r.Method), fmt.Sprintf("%s", r.URL.Path), fmt.Sprintf("%d", rww.statusCode)}
rCounter.WithLabelValues(labelValues...).Inc()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment