[−][src]Trait opentelemetry::sdk::export::metrics::LockedProcessor
This is supported on crate feature
metrics
only.A locked processor.
The Process
method is called during collection in a single-threaded
context from the SDK, after the aggregator is checkpointed, allowing the
processor to build the set of metrics currently being exported.
Required methods
pub fn process(&mut self, accumulation: Accumulation<'_>) -> Result<()>
[src]
Process is called by the SDK once per internal record, passing the export Accumulation (a Descriptor, the corresponding Labels, and the checkpointed Aggregator).
The Context argument originates from the controller that orchestrates collection.