-
Notifications
You must be signed in to change notification settings - Fork 903
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
Composite Head Samplers #4321
base: main
Are you sure you want to change the base?
Composite Head Samplers #4321
Conversation
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Added |
59612f8
to
db169b3
Compare
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
@PeterF778 looks like this PR has received sufficient approvals. Would you rebase and resolve the markdownlint error? |
Merging from main
Co-authored-by: Sam Xie <[email protected]>
Co-authored-by: Sam Xie <[email protected]>
4bfaa72
to
5a3ee3b
Compare
Overall LGTM, just left a few questions. Also, is the plan that languages implement all of these samplers? There's no requirement anywhere but I'm curious on the expectation, e.g. what if at least consistent and consistentparentbased should be supported? |
Good question, this has not been discussed yet, but if we assume that the example is realistic, we probably need all of them. I think we should say that an OTel SDK SHOULD implement them all. |
Forgot to mention all the sampling OTEPs are under |
Changes
Migrating from open-telemetry/oteps#250.
This is another approach for introducing Composite (Head) Samplers. The previous one (open-telemetry/oteps#240) proved too large, with some controversial elements.
This OTEP is a split-off from that one, focusing just on one area - new Composite Samplers.
Two prototypes exist for this functionality. We are seeking a third prototype.
In the Java-contrib repo: https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/consistent-sampling/README.md
In @jmacd's https://github.com/jmacd/go-sampler/blob/main/README.md.