Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: The OpenTelemetry Spec should allow SDKs to export all the spans regardless of their sampled flag #221

Open
wdengw opened this issue Nov 30, 2022 · 0 comments

Comments

@wdengw
Copy link

wdengw commented Nov 30, 2022

To minimize telemetry processing overhead in the hosting application, let OpenTelemetry sidecar to handle telemetry data processing as much as possible is a very attractive solution, for example, to gather span metrics (statistics), and to extract other summary information from spans per trace (request), etc.

To enable that, SDK needs the capability to export all spans to agent regardless of their sampled flag and carries the sampled flag with the sampling decision made by SDK sample. By doing these, Agent has the opportunity to see all the span data and to decide whether to persist the spans in storage based on the carried in sampled flag at the end.

See related Spec issue filed: open-telemetry/opentelemetry-specification#2986

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant