Skip to content

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

Merged
jack-berg merged 9 commits intoopen-telemetry:mainfrom
jack-berg:scope-config-enabled
Jun 3, 2024
Merged

Add Tracer#Enabled, Instrument#Enabled and corresponding SDK behavior#4063
jack-berg merged 9 commits intoopen-telemetry:mainfrom
jack-berg:scope-config-enabled

Conversation

@jack-berg
Copy link
Copy Markdown
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
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Copy link
Copy Markdown
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
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 <pellared@hotmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
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