Disable the openetelmetry exporter while still retaining trace and span handling #51477
Unanswered
sebastian-from-trivore
asked this question in
Q&A
Replies: 2 comments
-
|
/cc @brunobat (opentelemetry), @radcortez (opentelemetry) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@sebastian-from-trivore, I think this is possible by setting the exporter to none: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I have a issue very similar to @famod's question here on the related "Disable opentelemetry exporter in Quarkus 3.x" question by @fabrii.
In essence I want to disable the export of OTEL traces, but otherwise retain their generation and forwarding. I need to configure this behavior at runtime. I have played around with the configurations, for example setting
quarkus.otel.traces.sampler.arg=0.0dbut nothing seems to stick. It seems to me that all permutations either:For background, I'm trying to deploy my stack in an environment where the exporting of traces is forbidden, but my application relies on the trace and span ids and their propagation among services as critical metadata (for logging purposes among other things).
I suppose this is a niche use case, but it seems very strange to me that there doesn't seem to be a way to achieve my goal using the plethora of existing configuration options. Am I missing something or is this really the case?
Beta Was this translation helpful? Give feedback.
All reactions