Skip to content

Commit 1a864bc

Browse files
committed
Exclude docker-socket traefik scans and Redis scans from otel
1 parent c852475 commit 1a864bc

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
@@ -32,9 +32,11 @@ processors:
3232
- attributes["http.route"] == "/health"
3333
- attributes["http.target"] == "/socket.io/"
3434
- attributes["url.path"] == "/socket.io/"
35+
- attributes["server.address"] == "/var/run/docker.sock"
3536
- IsMatch(attributes["server.address"], "^monitoring..*")
3637
- attributes["net.peer.name"] == "/var/run/docker.sock"
3738
- attributes["http.route"] == "healthcheck_readiness_probe"
3839
- attributes["http.route"] == "healthcheck_liveness_probe"
3940
- attributes["http.target"] == "/metrics" and IsMatch(attributes["http.user_agent"], ".*Prometheus.*") == true
4041
- attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"
42+
- IsMatch(attributes["db.statement"], "^SCAN[\s?]*$") and attributes["db.system"] == "redis"

0 commit comments

Comments
 (0)