Skip to content

Commit

Permalink
Clarify that enabled applies to synchronous instruments (open-telemet…
Browse files Browse the repository at this point in the history
  • Loading branch information
codeboten authored Sep 18, 2024
1 parent 723fb0a commit 0846dc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ release.

### Metrics

- Clarify that `Enabled` only applies to synchronous instruments.
([#4211](https://github.com/open-telemetry/opentelemetry-specification/pull/4211))

### Logs

### Events
Expand Down
3 changes: 2 additions & 1 deletion specification/metrics/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,8 @@ All instruments SHOULD provide functions to:
**Status**: [Development](../document-status.md)

To help users avoid performing computationally expensive operations when
recording measurements, instruments SHOULD provide this `Enabled` 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
added in the future, therefore, the API MUST be structured in a way for
Expand Down

0 comments on commit 0846dc1

Please sign in to comment.