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 <[email protected]>
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
jack-berg added a commit to jack-berg/opentelemetry-specification that referenced this pull request Jun 4, 2024
jack-berg added a commit to jack-berg/opentelemetry-specification that referenced this pull request Jun 4, 2024
reyang pushed a commit that referenced this pull request Jun 6, 2024
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
…open-telemetry#4063)

Builds off open-telemetry#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 open-telemetry#3867 but punted on in open-telemetry#3877 as [discussed
here](open-telemetry#3877 (comment)).

---------

Co-authored-by: Robert Pająk <[email protected]>
Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Reiley Yang <[email protected]>
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants