Skip to content

Commit 793318d

Browse files
mrnicegyu11GitHKAndrei Neaguodeimaizsanderegg
authored
♻️ OpenTelemetry Enhancements: Filter out healthchecks, add catalog internals instrumentation (#6752)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Dustin Kaiser <[email protected]> Co-authored-by: Andrei Neagu <[email protected]> Co-authored-by: Andrei Neagu <[email protected]> Co-authored-by: Odei Maiz <[email protected]> Co-authored-by: Sylvain <[email protected]> Co-authored-by: Pedro Crespo-Valero <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: matusdrobuliak66 <[email protected]> Co-authored-by: Julian Querido <[email protected]> Co-authored-by: Odei Maiz <[email protected]>
1 parent 837cddf commit 793318d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

services/opentelemetry-collector-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ service:
1313
traces:
1414
receivers: [otlp]
1515
exporters: [otlphttp]
16-
processors: [batch,probabilistic_sampler]
16+
processors: [batch,probabilistic_sampler,filter/drop_healthcheck]
1717
processors:
1818
batch:
1919
timeout: 5s
2020
send_batch_size: ${TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE}
2121
probabilistic_sampler:
2222
sampling_percentage: ${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
23+
filter/drop_healthcheck:
24+
error_mode: ignore
25+
traces:
26+
span:
27+
- attributes["http.route"] == "healthcheck_readiness_probe"
28+
- attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"

0 commit comments

Comments
 (0)