Skip to content

[CONFIGURATION] default sampler in config #4034

@codeboten

Description

@codeboten

Steps to reproduce

Using the yaml configuration parsing, when a sampler is not specified in the yaml configuration, the sampler is not set on the tracer provider.

What is the expected behavior?

I expected the default sampler (parent based always on) to be set as defined in the configuration schema https://github.com/open-telemetry/opentelemetry-configuration/blob/main/schema-docs.md#tracerprovider

What is the actual behavior?

The sampler is null

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions