Skip to content

Commit

Permalink
♻️ OpenTelemetry Enhancements: Filter out healthchecks, add catalog i…
Browse files Browse the repository at this point in the history
…nternals 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]>
  • Loading branch information
11 people authored Nov 20, 2024
1 parent 837cddf commit 793318d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion services/opentelemetry-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ service:
traces:
receivers: [otlp]
exporters: [otlphttp]
processors: [batch,probabilistic_sampler]
processors: [batch,probabilistic_sampler,filter/drop_healthcheck]
processors:
batch:
timeout: 5s
send_batch_size: ${TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE}
probabilistic_sampler:
sampling_percentage: ${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
filter/drop_healthcheck:
error_mode: ignore
traces:
span:
- attributes["http.route"] == "healthcheck_readiness_probe"
- attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"

0 comments on commit 793318d

Please sign in to comment.