From f7b51e1d6f7819ac2ffe45a6c89268453f1e6fec Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Fri, 8 Dec 2023 13:26:41 +0700 Subject: [PATCH] filter out http.route metrics --- otel/collector-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otel/collector-config.yaml b/otel/collector-config.yaml index 733a29095..c13c5f4cc 100644 --- a/otel/collector-config.yaml +++ b/otel/collector-config.yaml @@ -20,7 +20,7 @@ processors: error_mode: ignore metrics: metric: - - HasAttrKeyOnDatapoint("http.connection.state") or HasAttrKeyOnDatapoint("aspnetcore.routing.match_attempts") or HasAttrKeyOnDatapoint("aspnetcore.routing.match_status") + - HasAttrKeyOnDatapoint("http.route") or HasAttrKeyOnDatapoint("http.connection.state") batch: timeout: 1s memory_limiter: