Skip to content

[otel] add support for more trace sampling strategies #27916

Open
@lucacasonato

Description

Right now we only support (parentbased_always_on). We should support:

  • always_on
  • always_off
  • traceidratio
  • parentbased_always_on
  • parentbased_always_off
  • parentbased_traceidratio

This should be configured with OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG.

https://opentelemetry.io/docs/languages/sdk-configuration/general/#otel_traces_sampler

Metadata

Assignees

No one assigned

    Labels

    clirelated to cli/ dirotel

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions