Skip to content

[chore][processor/probabilistic_sampler] Clarify the default sampling mode #37536

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

Merged

Conversation

namco1992
Copy link
Contributor

Description

As per #36802, the sampling mode is always "hash_seed" if no mode is specified, regardless of the hash_seed or attribute_source field status. Update the README to reflect it.

Link to tracking issue

Fixes #36802.

mode

Fixes open-telemetry#36802.

As per open-telemetry#36802 described, the sampling mode is always "hash_seed" if no
mode is specified, regardless of the `hash_seed` or `attribute_source`
field status. Update the README to reflect it.

Signed-off-by: Mengnan Gong <namco1992@gmail.com>
@namco1992 namco1992 requested review from jpkrohling, jmacd and a team as code owners January 28, 2025 09:11
@github-actions github-actions bot added the processor/probabilisticsampler Probabilistic Sampler processor label Jan 28, 2025
@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Feb 12, 2025
@MovieStoreGuy MovieStoreGuy merged commit ec7dd04 into open-telemetry:main Feb 12, 2025
153 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 12, 2025
khushijain21 pushed a commit to khushijain21/opentelemetry-collector-contrib that referenced this pull request Feb 14, 2025
… mode (open-telemetry#37536)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

As per open-telemetry#36802, the sampling mode is always "hash_seed" if no mode is
specified, regardless of the `hash_seed` or `attribute_source` field
status. Update the README to reflect it.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#36802.

Signed-off-by: Mengnan Gong <namco1992@gmail.com>
Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/probabilisticsampler Probabilistic Sampler processor ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[processor/probabilistic_sampler] The default sampling mode in documentation is self-contradictory
5 participants