Skip to content

Add support for AlwaysRecord sampler #7714

@vitorvasc

Description

@vitorvasc

Description

The latest OpenTelemetry Specification version introduced the AlwaysRecord sampler:

AlwaysRecord is a sampler decorator that ensures every span is passed to
the SpanProcessor, even those that would normally be dropped. It does this
by converting DROP decisions from the wrapped sampler into RECORD_ONLY
decisions, allowing processors to see all spans without sending them to
exporters. This is typically used to enable accurate span-to-metrics processing.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions