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

Clarify the TraceIdRatioBased description format #1536

Merged
merged 6 commits into from
Mar 15, 2021

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Mar 11, 2021

Samplers need to return a static string as a description. The string the TraceIdRatioBased sampler returns needs to be based on the sampling ratio that it is configured for. The current specification could be misinterpreted as requiring a static string that was not based on the samplers sampling ratio be used. This corrects that discrepancy.

Resolves #1524

Samplers need to return a static string as a description. The string the
TraceIdRatioBased sampler returns needs to be based on the sampling
ratio that it is configured for. The current specification could be
misinterpreted as requiring a static string that was not based on the
samplers sampling ratio be used. This corrects that discrepancy.
@MrAlias MrAlias requested review from a team March 11, 2021 19:30
Copy link
Member

@reyang reyang left a comment

Choose a reason for hiding this comment

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

Good catch!

Copy link
Member

@arminru arminru left a comment

Choose a reason for hiding this comment

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

It's just a clarification but I think we should still mention it in the changelog.

specification/trace/sdk.md Outdated Show resolved Hide resolved
@carlosalberto
Copy link
Contributor

(Probably worth mentioning this in the maintainers meeting, for everybody is aware of this detail ;) )

specification/trace/sdk.md Outdated Show resolved Hide resolved
carlosalberto and others added 2 commits March 15, 2021 14:56
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
@carlosalberto carlosalberto merged commit a068ad3 into open-telemetry:main Mar 15, 2021
@MrAlias MrAlias deleted the tirb-sampler-desc branch March 16, 2021 15:28
ThomsonTan pushed a commit to ThomsonTan/opentelemetry-specification that referenced this pull request Mar 30, 2021
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 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.

Clarify TraceIdRatioBased Sampler description
6 participants