diff --git a/CHANGELOG.md b/CHANGELOG.md index fd302852544..bb0c86e43fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ release. ### Traces +- Stabilize Tracer `enabled` operation + ([#4941](https://github.com/open-telemetry/opentelemetry-specification/pull/4941)) - Stabilize `AlwaysRecord` sampler. ([#4934](https://github.com/open-telemetry/opentelemetry-specification/pull/4934)) diff --git a/specification/trace/api.md b/specification/trace/api.md index 781f38c0da8..ca2ebff590a 100644 --- a/specification/trace/api.md +++ b/specification/trace/api.md @@ -200,8 +200,6 @@ The `Tracer` SHOULD provide functions to: #### Enabled -**Status**: [Development](../document-status.md) - To help users avoid performing computationally expensive operations when creating `Span`s, a `Tracer` SHOULD provide this `Enabled` API. diff --git a/specification/trace/sdk.md b/specification/trace/sdk.md index 6fb7ad00580..0451ddbf0d7 100644 --- a/specification/trace/sdk.md +++ b/specification/trace/sdk.md @@ -219,12 +219,10 @@ However, the changes MUST be eventually visible. ### Enabled -**Status**: [Development](../document-status.md) - `Enabled` MUST return `false` when either: - there are no registered [`SpanProcessors`](#span-processor), -- `Tracer` is disabled ([`TracerConfig.enabled`](#tracerconfig) is `false`). +- **Status**: [Development](../document-status.md) - `Tracer` is disabled ([`TracerConfig.enabled`](#tracerconfig) is `false`). Otherwise, it SHOULD return `true`. It MAY return `false` to support additional optimizations and features.