Skip to content

Commit 66c6926

Browse files
Blinkuureyang
andauthored
Update specification/metrics/sdk.md
Updates specification of `next`. Co-authored-by: Reiley Yang <[email protected]>
1 parent f57fe00 commit 66c6926

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

specification/metrics/sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ The following diagram shows `MeasurementProcessor`'s relationship to other compo
10311031

10321032
* `context` - the resolved `Context` (the explicitly passed `Context` or the current `Context`)
10331033
* `measurement` - a [Measurement](./api.md#measurement) that was recorded
1034-
* `next` - a callback to invoke `OnMeasure` on the next processor in the chain. It MUST be callable without a reference to the next processor.
1034+
* `next` - this allows the MeasurementProcessor to pass the measurements to the next MeasurementProcessor in the chain. It can be a reference to the next MeasurementProcessor, a bound callback to invoke `OnMeasure` on the next processor in the chain without an explicit reference to the next processor, or something else. [OpenTelemetry SDK](../overview.md#sdk) authors MAY decide the language idiomatic approach.
10351035

10361036
**Returns:** Void
10371037

0 commit comments

Comments
 (0)