Multiple-instrument callbacks
Multiple-instrument callbacks: one callback observing several asynchronous instruments, so a single
expensive read can feed all of them.
Contains the following fields: a callback function, the list of instruments it observes
Spec section: https://opentelemetry.io/docs/specs/otel/metrics/api/#multiple-instrument-callbacks
API types: a Meter.batchCallback(...)-style function (new), ObservableMeasurement
Spec links:
Implementation checklist:
Multiple-instrument callbacks
Multiple-instrument callbacks: one callback observing several asynchronous instruments, so a single
expensive read can feed all of them.
Contains the following fields: a
callbackfunction, the list of instruments it observesSpec section: https://opentelemetry.io/docs/specs/otel/metrics/api/#multiple-instrument-callbacks
API types: a
Meter.batchCallback(...)-style function (new),ObservableMeasurementSpec links:
Implementation checklist:
apimodule?noopmodule?test-fakesmodule?compatadapts Java → Kotlin?compatadapts Kotlin → Java?implementationrecords measurements?