Skip to content

Commit

Permalink
Opentelemetry: Drop more metrics: healthcheck and /metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnicegyu11 committed Nov 20, 2024
1 parent 39c7f34 commit 41e5ce3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/jaeger/opentelemetry-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ processors:
traces:
span:
- attributes["http.route"] == "healthcheck_readiness_probe"
- attributes["http.route"] == "healthcheck_liveness_probe"
- attributes["http.target"] == "/metrics" and IsMatch(attributes["http.user_agent"], ".*Prometheus.*") == true
- attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"

0 comments on commit 41e5ce3

Please sign in to comment.