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

[processor/tailsampling] fix tailsampling lost instrumentation scope info #25117

Conversation

siriusfreak
Copy link
Contributor

Description: Added saving instrumentation library information.
Fix issue: #13642

How solved:

  1. Add saving information about instrumentation scope for traces: processor/tailsamplingprocessor/processor.go:307
  2. Sampled spans will now be put into the previous version of the instrumentation scope: processor/tailsamplingprocessor/processor.go:435

Testing: on production with high load. Unit tests in progress

Documentation: no documentation changes

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 9, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@siriusfreak siriusfreak changed the title [processor/tailsampling] fix AND policy [processor/tailsampling] fix tailsampling lost instrumentation scope info Aug 9, 2023
@github-actions github-actions bot added the processor/tailsampling Tail sampling processor label Aug 9, 2023
@github-actions github-actions bot requested a review from jpkrohling August 9, 2023 12:46
@siriusfreak siriusfreak force-pushed the fix-tailsampling-lost-instrumentation branch from 310e284 to 213a300 Compare August 11, 2023 07:32
@siriusfreak siriusfreak marked this pull request as ready for review August 11, 2023 07:32
@siriusfreak siriusfreak requested a review from a team August 11, 2023 07:32
Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@siriusfreak
Copy link
Contributor Author

@songy23 signed

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM, please add a changelog

@TylerHelmuth TylerHelmuth merged commit 3e6c2a6 into open-telemetry:main Aug 31, 2023
@github-actions github-actions bot added this to the next release milestone Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/tailsampling Tail sampling processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants