Skip to content

please, make a way to get span status in shouldSample method #14011

@HanSangKkyu

Description

@HanSangKkyu

Is your feature request related to a problem? Please describe.

https://github.com/open-telemetry/opentelemetry-java/blob/4a33b6699603ca667425820f92e2f206737ed0c1/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/samplers/Sampler.java#L105-L111
Hello, I'd like to sample using span status, but there is no way to get span status in shouldSample method.

Describe the solution you'd like

please, make a way to get span status in shouldSample method.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions