Skip to content

Commit 6726b81

Browse files
legendecasjmacd
andauthored
Clarify async instrument callback identity (open-telemetry#2538)
* Clarify async instrument callback identity * fixup! * fixup! Co-authored-by: Joshua MacDonald <[email protected]>
1 parent 0bd88bf commit 6726b81

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ release.
2020
- Add experimental `OTEL_EXPORTER_OTLP_DEFAULT_HISTOGRAM_AGGREGATION` variable for
2121
configuring default histogram aggregation of OTLP metric exporter
2222
([#2619](https://github.com/open-telemetry/opentelemetry-specification/pull/2619)).
23+
- Clarify async instrument callback identity.
24+
([#2538](https://github.com/open-telemetry/opentelemetry-specification/pull/2538)).
2325

2426
### Logs
2527

specification/metrics/api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ Where the API supports registration of `callback` functions after
366366
asynchronous instrumentation creation, the user MUST be able to undo
367367
registration of the specific callback after its registration by some means.
368368

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

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

0 commit comments

Comments
 (0)