Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ release.

### Metrics

- Stabilize `Enabled` API for synchronous instruments.
([#4746](https://github.com/open-telemetry/opentelemetry-specification/pull/4746))
- Allow instrument `Enabled` implementation to have additional optimizations and features.
([#4747](https://github.com/open-telemetry/opentelemetry-specification/pull/4747))

Expand Down
6 changes: 2 additions & 4 deletions specification/metrics/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,16 +472,14 @@ or something else).

### General operations

All instruments SHOULD provide functions to:
All [synchronous instruments](#synchronous-instrument-api) SHOULD provide functions to:

* [Report if instrument is `Enabled`](#enabled)

#### Enabled

**Status**: [Development](../document-status.md)

To help users avoid performing computationally expensive operations when
recording measurements, [synchronous Instruments](#synchronous-instrument-api)
recording measurements, [synchronous instruments](#synchronous-instrument-api)
SHOULD provide this `Enabled` API.

There are currently no required parameters for this API. Parameters can be
Expand Down
Loading