Null Exporter?
#6797
Replies: 1 comment 6 replies
-
During some other research I discovered this file: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/probabilisticsamplerprocessor/testdata/config.yaml |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering if there's a way to configure 'null' exporting, i.e. in some case (dev environments of some kind?) I may not want (or have) a place to send traces. Instead of reconfiguring the whole system (various gateways and components, and istio, etc) to not send traces, it seems useful if I leave the whole tracing plumbing in place to have all the various components still send traces to otel-collector, but otel-collector just silently discards them.
Other than writing a "null exporter", is there another way to accomplish this? I tried just configuring no exporters, but the collector fails to start with an error ("Error: invalid configuration: no enabled exporters specified in config").
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions