Skip to content

Commit

Permalink
Update specification/metrics/sdk.md
Browse files Browse the repository at this point in the history
Updates specification of `next`.

Co-authored-by: Reiley Yang <reyang@microsoft.com>
  • Loading branch information
Blinkuu and reyang authored Jan 23, 2025
1 parent f57fe00 commit 66c6926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ The following diagram shows `MeasurementProcessor`'s relationship to other compo

* `context` - the resolved `Context` (the explicitly passed `Context` or the current `Context`)
* `measurement` - a [Measurement](./api.md#measurement) that was recorded
* `next` - a callback to invoke `OnMeasure` on the next processor in the chain. It MUST be callable without a reference to the next processor.
* `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.

**Returns:** Void

Expand Down

0 comments on commit 66c6926

Please sign in to comment.