Skip to content

Commit 0ccf48e

Browse files
committed
Merge remote-tracking branch 'upstream/main' into add-manual-to-maintenance
2 parents e3ffc68 + 41e5ce3 commit 0ccf48e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

services/jaeger/opentelemetry-collector-config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ service:
1313
traces:
1414
receivers: [otlp]
1515
exporters: [otlphttp]
16-
processors: [batch,probabilistic_sampler]
16+
processors: [batch,probabilistic_sampler,filter/drop_healthcheck]
1717
telemetry:
1818
logs:
1919
level: ${TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL}
@@ -23,3 +23,11 @@ processors:
2323
send_batch_size: ${TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE}
2424
probabilistic_sampler:
2525
sampling_percentage: ${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
26+
filter/drop_healthcheck:
27+
error_mode: ignore
28+
traces:
29+
span:
30+
- 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
33+
- attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"

0 commit comments

Comments
 (0)