Skip to content

Equivalent of opentracing's 'sampling.priority 1' tag?  #1920

@VivekSubr

Description

@VivekSubr

Hello!

Opentracing had a way to force sample a span, by setting 'sampling.priority' tag to 1 we could force sampling of a particular span by a trace ratio sampler.

Looking at this library, there seems to be no equivalent way? A similar discussion in the golang lib suggests using a custom sampler: open-telemetry/opentelemetry-go#2651

Can something like that be done here? Or some other, better way?

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