Skip to content

Stabilize part of SDK spec for synchronous instrument Enabled#4787

Merged
carlosalberto merged 9 commits intoopen-telemetry:mainfrom
pellared:stab-metric-sdk-enabled
Dec 16, 2025
Merged

Stabilize part of SDK spec for synchronous instrument Enabled#4787
carlosalberto merged 9 commits intoopen-telemetry:mainfrom
pellared:stab-metric-sdk-enabled

Conversation

@pellared
Copy link
Copy Markdown
Member

@pellared pellared commented Dec 8, 2025

Per #4746 (review)

Side note. I also made sure that this wording used for all signals (and in the same place)

It is not necessary for implementations to ensure that changes to any of these
parameters are immediately visible to callers of Enabled.
However, the changes MUST be eventually visible.

so that the spec is similar for all signals

@pellared pellared marked this pull request as ready for review December 8, 2025 09:25
@pellared pellared requested review from a team as code owners December 8, 2025 09:25
@pellared pellared requested a review from Copilot December 8, 2025 09:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes the specification language around eventual visibility of configuration changes for the Enabled method across all OpenTelemetry signals (traces, metrics, and logs). The changes ensure consistent wording and placement of visibility guarantees while clarifying that metrics specifications apply specifically to synchronous instruments.

  • Generalized the visibility statement from referencing specific parameters to "any of these parameters"
  • Added clarification that metrics Enabled SDK specification applies to synchronous instruments
  • Moved and consolidated visibility guarantees to eliminate duplication

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
specification/trace/sdk.md De-indented visibility statement in TracerConfig to apply to all parameters at section level
specification/metrics/sdk.md Added visibility statement to MeterConfig, clarified synchronous instrument scope, added inline status annotation to first condition, and removed duplicate visibility text
CHANGELOG.md Added changelog entry documenting the stabilization of part of the Enabled SDK for synchronous instruments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@carlosalberto
Copy link
Copy Markdown
Contributor

Is this something we should wait to include in the January's release?

@reyang
Copy link
Copy Markdown
Member

reyang commented Dec 8, 2025

Is this something we should wait to include in the January's release?

I think this one should be high confidence and low risk, I suggest that we merge.

@carlosalberto
Copy link
Copy Markdown
Contributor

@reyang You mean for this month's release (happening later today)?

@carlosalberto
Copy link
Copy Markdown
Contributor

Let's play it on the defensive side and include this in the next release (January). IMHO no need to rush and include in today's (December) release.

@carlosalberto carlosalberto added this pull request to the merge queue Dec 16, 2025
Merged via the queue into open-telemetry:main with commit bc5da4d Dec 16, 2025
7 checks passed
@lmolkova lmolkova mentioned this pull request Jan 8, 2026
zeitlinger pushed a commit to zeitlinger/opentelemetry-specification that referenced this pull request Jan 9, 2026
### Metrics

- Stabilize part of `Enabled` SDK for synchronous instruments.

([open-telemetry#4787](open-telemetry#4787))

### Logs

- Add optional Ergonomic API.

([open-telemetry#4741](open-telemetry#4741))

### SDK Configuration

- Declarative configuration: clarify default behavior and validation
  requirements of `create` and `parse`.

([open-telemetry#4780](open-telemetry#4780))
- Declarative configuration: add optional programmatic customization to
  `create`, and add related supplemental guidelines.

([open-telemetry#4777](open-telemetry#4777))
- Declarative configuration: add links between SDK extension plugins and
  corresponding declarative config types.

([open-telemetry#4802](open-telemetry#4802))
- Declarative configuration: clarify Registry ComponentProvider `type`
parameter

([open-telemetry#4799](open-telemetry#4799))

### Common

- Stabilize complex `AnyValue` attribute value types and related
attribute limits.

([open-telemetry#4794](open-telemetry#4794))
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.

6 participants