Skip to content

Support for Sampling in OpenTelemetry Logger #5424

Answered by pichlermarc
gunzip asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gunzip, thanks for reaching out.

We aim to implement https://github.com/open-telemetry/opentelemetry-specification/ with our Logs SDK, and there's no concept for Sampling on the client side this at the moment. We are not planning to add such a feature unless there's an effort in the specification to do this for all language implementations.

This is mostly to avoid:

  • conflicts with future specification versions
  • diverging in core feature-sets between language implementations

You may be able to request a feature over at the spec to get the ball rolling there, we will then eventually implement the feature here.

Some ideas for workarounds:

If you're tracing with OTel in the same app, then a

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gunzip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants