From 79af5d1ad67cf5dca0fb5727a5f4dc68ded87ce5 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:30:08 -0700 Subject: [PATCH] Mark Enabled API for synchronous instruments stable This marks the API stable. Fixes #4215 Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> --- CHANGELOG.md | 2 ++ spec-compliance-matrix.md | 1 + specification/metrics/api.md | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77101cf7801..8d9b8d48fe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ release. ([#4188](https://github.com/open-telemetry/opentelemetry-specification/pull/4188)) - Clarify that `Enabled` only applies to synchronous instruments. ([#4211](https://github.com/open-telemetry/opentelemetry-specification/pull/4211)) +- Mark the `Enabled` method as stable. + ([]()) ### Logs diff --git a/spec-compliance-matrix.md b/spec-compliance-matrix.md index 790875d9e32..7f5203650b2 100644 --- a/spec-compliance-matrix.md +++ b/spec-compliance-matrix.md @@ -126,6 +126,7 @@ formats is required. Implementing more than one format is optional. | Instrument descriptions conform to the specified syntax. | | - | + | | - | | - | | | - | + | | | Instrument supports the advisory ExplicitBucketBoundaries parameter. | | | + | | | | + | | | | | | | Instrument supports the advisory Attributes parameter. | | | + | | | | - | | | | | | +| Synchronous instruments supports the Enabled method. | | | | | | | | | | | | | | All methods of `MeterProvider` are safe to be called concurrently. | | + | + | + | - | | + | | | + | + | | | All methods of `Meter` are safe to be called concurrently. | | + | + | + | - | | + | | | + | + | | | All methods of any instrument are safe to be called concurrently. | | + | + | + | - | | + | | | + | + | | diff --git a/specification/metrics/api.md b/specification/metrics/api.md index 28069f60fdb..558fc9fae0e 100644 --- a/specification/metrics/api.md +++ b/specification/metrics/api.md @@ -483,7 +483,7 @@ All instruments SHOULD provide functions to: #### Enabled -**Status**: [Development](../document-status.md) +**Status**: [Stable](../document-status.md) To help users avoid performing computationally expensive operations when recording measurements, [synchronous Instruments](#synchronous-instrument-api)