Trait aws_smithy_observability::meter::Histogram

source ·
pub trait Histogram: Send + Sync + Debug {
    // Required method
    fn record(
        &self,
        value: f64,
        attributes: Option<&Attributes>,
        context: Option<&dyn Context>,
    );
}
Expand description

Collects a set of events with an event count and sum for all events.

Required Methods§

source

fn record( &self, value: f64, attributes: Option<&Attributes>, context: Option<&dyn Context>, )

Record a value.

Implementors§