Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tracer#Enabled, Instrument#Enabled and corresponding SDK behavior #4063

Merged
merged 9 commits into from
Jun 3, 2024

Conversation

jack-berg
Copy link
Member

@jack-berg jack-berg commented May 28, 2024

Builds off #4020 to extend the Enabled API to Tracer and metrics Instrument.

Adds language to Log SDK, Metrics SDK, and Trace SDK for how scope config is used to resolve the Enabled operation.

This was discussed in #3867 but punted on in #3877 as discussed here.

@jack-berg jack-berg requested review from a team May 28, 2024 20:48
specification/trace/api.md Outdated Show resolved Hide resolved
specification/trace/api.md Outdated Show resolved Hide resolved
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Copy link
Member

@reyang reyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from feature parity perspective.

@reyang reyang changed the title Add Tracer#Enabled, Meter#Enabled and corresponding SDK behavior Add Tracer#Enabled, Instrument#Enabled and corresponding SDK behavior May 31, 2024
@jack-berg jack-berg merged commit d0bfe08 into open-telemetry:main Jun 3, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment