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

Options to ignore parent SampledFlag in ProbabilitySampler #1284

Closed
legendecas opened this issue Jul 7, 2020 · 8 comments
Closed

Options to ignore parent SampledFlag in ProbabilitySampler #1284

legendecas opened this issue Jul 7, 2020 · 8 comments
Assignees

Comments

@legendecas
Copy link
Member

Is your feature request related to a problem? Please describe.

Spec https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/sdk.md#probability said that ProbabilitySampler can ignore the parent SampledFlag by a configuration

@dyladan
Copy link
Member

dyladan commented Jul 15, 2020

It seems to me that this should be superseded by the ParentOrElse sampler? I'll create a spec issue to see what they think.

@legendecas
Copy link
Member Author

If the ProbabilitySampler does not respect parent then it can be superseded by the ParentOrElse sampler composited with probability sampler. I think this is neat since they all do their own jobs.

@dyladan
Copy link
Member

dyladan commented Jul 15, 2020

I created open-telemetry/opentelemetry-specification#704

We'll see what the specs approvers think.

@dyladan
Copy link
Member

dyladan commented Sep 2, 2020

I think this is superceded by #1455 and #1487

Can this issue be closed or are you still working on this?

@legendecas
Copy link
Member Author

@dyladan I think this one can be closed as #1279 has already landed. Closing.

@legendecas
Copy link
Member Author

Sorry, I misunderstood the ping. This one is not done yet.

@legendecas legendecas reopened this Sep 2, 2020
@dyladan
Copy link
Member

dyladan commented Sep 2, 2020

@legendecas What I am saying is that this issue and #1455 (assigned to @shivkanya9146) appear to be duplicates, are they not?

@legendecas
Copy link
Member Author

@dyladan I think so. So this issue can be closed as it been superseded by #1455 in terms of spec changes.

pichlermarc pushed a commit to dynatrace-oss-contrib/opentelemetry-js that referenced this issue Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants