Skip to content

[service] fix bug in sampler #9968

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

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

codeboten
Copy link
Contributor

The configuration for the recordSampler has multiple configurations for the RemoteParentSampler which doesn't appear to make any sense. I suspect the original intent was to configure both local and remote samplers with sampled and not sampled.

The configuration for the recordSampler has multiple configurations for the RemoteParentSampler which doesn't appear to make any sense. I suspect the original intent was to configure both local and remote samplers with sampled and not sampled.

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten requested review from a team and bogdandrutu April 15, 2024 20:28
Signed-off-by: Alex Boten <[email protected]>
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.78%. Comparing base (e8cabb7) to head (1253ea6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9968      +/-   ##
==========================================
- Coverage   91.79%   91.78%   -0.02%     
==========================================
  Files         358      358              
  Lines       16576    16576              
==========================================
- Hits        15216    15214       -2     
- Misses       1037     1038       +1     
- Partials      323      324       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

The hypothesis sounds reasonable to me. The original author was @bogdandrutu, but we don't need to wait for them to confirm

@codeboten codeboten merged commit fb78b16 into open-telemetry:main Apr 16, 2024
49 checks passed
@codeboten codeboten deleted the codeboten/fix-sampler-typo branch April 16, 2024 15:24
@github-actions github-actions bot added this to the next release milestone Apr 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants