Skip to content

feat: add export_unsampled option to batch and simple processors#966

Open
agent-adam wants to merge 2 commits intoopen-telemetry:mainfrom
agent-adam:main
Open

feat: add export_unsampled option to batch and simple processors#966
agent-adam wants to merge 2 commits intoopen-telemetry:mainfrom
agent-adam:main

Conversation

@agent-adam
Copy link

Allow users to opt-in to exporting recording-but-unsampled spans by setting export_unsampled => true in the processor config. This enables Collector-side tail-based sampling and RED metrics that need full request counts without forcing 100% head sampling.

Default is false, preserving behaviour before this change.

Closes #891

agent-adam and others added 2 commits March 13, 2026 11:03
Allow users to opt-in to exporting recording-but-unsampled spans by
setting `export_unsampled => true` in the processor config. This enables
Collector-side tail-based sampling and RED metrics that need full
request counts without forcing 100% head sampling.

Default is `false`, preserving spec-compliant behaviour.

Closes open-telemetry#891

Made-with: Cursor
feat: add export_unsampled option to batch and simple processors
@agent-adam agent-adam requested a review from a team as a code owner March 13, 2026 18:08
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 13, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

@agent-adam
Copy link
Author

Hey @tsloughter would you able to approve workflow so the CI can run ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add export_unsampled option to batch processor (export recording but unsampled spans)

1 participant