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

Add docs for sampling #88

Closed
wants to merge 1 commit into from

Conversation

pavolloffay
Copy link
Member

@yurishkuro could you please review?

This was originally added here open-telemetry/opentelemetry-specification#2222 but moving here as the spec will reference this file.

Signed-off-by: Pavol Loffay <[email protected]>
message PerOperationSamplingStrategies {
// Default sampling probability for TraceIdRatioBased sampler.
Copy link
Member Author

Choose a reason for hiding this comment

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

@yurishkuro I think comments in this type need more explanation.

The per-operation config is clear - it is used if names match, if name does not match does it fallback to the probabilistic and rate limiting sampler? Is the rate limiting sampler used first until a specified throughput is satisfied and then it is switched to probabilistic?

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

Let me first merge the other pr about the strategyType and I will write proper docs for the remaining types.

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