Skip to content

Commit 41e5ce3

Browse files
committed
Opentelemetry: Drop more metrics: healthcheck and /metrics
1 parent 39c7f34 commit 41e5ce3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/jaeger/opentelemetry-collector-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ processors:
2828
traces:
2929
span:
3030
- attributes["http.route"] == "healthcheck_readiness_probe"
31+
- attributes["http.route"] == "healthcheck_liveness_probe"
32+
- attributes["http.target"] == "/metrics" and IsMatch(attributes["http.user_agent"], ".*Prometheus.*") == true
3133
- attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"

0 commit comments

Comments
 (0)