Skip to content

ProbabilitySampler Configuration #315

@kaylareopelle

Description

@kaylareopelle

With open-telemetry/opentelemetry-specification#4627 merged, what should the declarative configuration look like for this new setting?

The previous trace_id_ratio_based configuration uses ratio as the modifier. Is this still the best sub-config for the Probability Sampler?

# Configure sampler to be trace_id_ratio_based.
trace_id_ratio_based:
# Configure trace_id_ratio.
# If omitted or null, 1.0 is used.
ratio: 0.0001

The configuration section in the specification hasn't changed, with the exception of the Trace ID Ratio Based name becoming Probability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions