[−][src]Type Definition opentelemetry::metrics::BatchObserverCallback
type BatchObserverCallback = Box<dyn Fn(BatchObserverResult) + Send + Sync>;
This is supported on crate feature
metrics
only.A callback argument for use with any Observer instrument that will be reported as a batch of observations.