Skip to content

Commit

Permalink
Clarify async instrument callback identity (#2538)
Browse files Browse the repository at this point in the history
* Clarify async instrument callback identity

* fixup!

* fixup!

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
  • Loading branch information
legendecas and jmacd authored Jul 12, 2022
1 parent 94ab1fe commit 8f7cdb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ release.
- Add experimental `OTEL_EXPORTER_OTLP_DEFAULT_HISTOGRAM_AGGREGATION` variable for
configuring default histogram aggregation of OTLP metric exporter
([#2619](https://github.com/open-telemetry/opentelemetry-specification/pull/2619)).
- Clarify async instrument callback identity.
([#2538](https://github.com/open-telemetry/opentelemetry-specification/pull/2538)).

### Logs

Expand Down
4 changes: 2 additions & 2 deletions specification/metrics/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,9 @@ Where the API supports registration of `callback` functions after
asynchronous instrumentation creation, the user MUST be able to undo
registration of the specific callback after its registration by some means.

Every currently registered Callback associated with an instrument MUST
Every currently registered Callback associated with a set of instruments MUST
be evaluated exactly once during collection prior to reading data for
that instrument.
that instrument set.

Callback functions MUST be documented as follows for the end user:

Expand Down

0 comments on commit 8f7cdb7

Please sign in to comment.