From 0ef52c8db163db05065fe5fd1154bbccaee9c079 Mon Sep 17 00:00:00 2001 From: Ujjwal Kanth Date: Thu, 4 Jan 2024 15:50:15 +0000 Subject: [PATCH] fix: metrics name, remove namespace --- transport/http/filter_metrics.go | 1 - 1 file changed, 1 deletion(-) diff --git a/transport/http/filter_metrics.go b/transport/http/filter_metrics.go index 9038b93..7cb365d 100644 --- a/transport/http/filter_metrics.go +++ b/transport/http/filter_metrics.go @@ -108,7 +108,6 @@ func DefaultMetricsNameFormatter(namespace string, r *http.Request) string { rpt := rcx.RoutePattern() - sb.WriteString(namespace) sb.WriteRune('.') sb.WriteString(strings.ReplaceAll(rpt, "/", "_"))