Repository navigation
Rename ComposableTraceIDRatioBased to ComposableProbability - #5972
Open
shrutimane2409 wants to merge 2 commits into
Open
shrutimane2409 wants to merge 2 commits into
shrutimane2409 wants to merge 2 commits into
Conversation
The spec renamed this composable sampler to ComposableProbability. Rename the class, the composable_traceid_ratio_based() factory to composable_probability() and the module to match. Declarative configuration already calls it "probability", so its call site now uses the same name. Part of open-telemetry#5950
Pull request dashboard statusWaiting on reviewers · refreshed 2026-11-26 13:52 UTC Review the latest changes. Status above doesn't look right?
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The spec renamed the
ComposableTraceIDRatioBasedsampler toComposableProbability, so this renames the class, thecomposable_traceid_ratio_based()function tocomposable_probability(), and the module to match. Declarative configuration already calls this samplerprobability, so the names now line up everywhere.Since this is all under
_sampling_experimental, I didn't keep the old names as aliases.This covers item 2 from #5950 (item 4 is in #5966).
Part of #5950
Type of change
Checklist:
tox -e precommittox -e typecheck