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

Need an example / proof of concept of how to achieve stratified sampling in OpenTelemetry.NET #4207

Closed
kalyanaj opened this issue Feb 18, 2023 · 0 comments · Fixed by #4208
Closed
Labels
enhancement New feature or request

Comments

@kalyanaj
Copy link
Contributor

Feature Request

Before opening a feature request against this repo, consider whether the feature
should/could be implemented in the other OpenTelemetry client
libraries
. If so, please open an issue on
opentelemetry-specification

first.

Is your feature request related to a problem?

Certain customers using OpenTelemetry want to do achieve stratified sampling. Stratified sampling is a way to divide a population (e.g., "all queries to a service") into mutually exclusive sub-populations aka "strata". For example, the strata here could be "all user-initiated queries", "all programmatic queries". Each stratum is then sampled using a probabilistic sampling method. This ensures that all sub-populations are represented. It will be good to have an example / proof of concept that shows how to achieve this in OpenTelemetry.NET.

Describe the solution you'd like:

A sample or proof of concept for basic stratified sampling using the OpenTelemetry.NET mechanisms. I have created a proof of concept and I am creating a pull request for it.

Describe alternatives you've considered.

Which alternative solutions or features have you considered?

Additional Context

Add any other context about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant