Need a way to suppress telemetry from SDKs own operation #1171
Labels
A-common
Area:common issues that not related to specific pillar
priority:p1
Critical issues and bugs. Highest priority.
triage:accepted
Has been triaged and accepted.
version:minor
Tag PR which would make sense to bump the "minor" in semver. https://semver.org/
There is no mechanism today to suppress telemetry arising from SDK's own operations. For example, OTLP Exporter uses
tonic
, which is instrumented withtracing
crate. When one enables tracing-appender, along with OTLP Exporter, all the logs emitted bytonic
inside OTLPExporter, gets routed to OpenTelemetry! This is a never ending "live loop", as every export cause logs to be produced, which causes export to occur again, which further creates logs again and so on.There was never a spec written for this (open-telemetry/opentelemetry-specification#530), but languages like Python, .NET had provided solutions for this.
Opening an issue to track adding a capability to "Suppress instrumentation" in OTel Rust SDK, and have the official exporters leverage it.
The text was updated successfully, but these errors were encountered: