Skip to content

Commit

Permalink
filter out http.route metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Dec 12, 2023
1 parent 9610692 commit f7b51e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otel/collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f7b51e1

Please sign in to comment.