Struct telemetry::keyed::KeyedCount  
            
                [−]
            
        [src]
pub struct KeyedCount<K> {
    // some fields omitted
}Count histograms.
A Count histogram simply accumulates the numbers passed with record().
With SerializationFormat::SimpleJson, these histograms are
serialized as an object, with keys sorted, in which each field is
a number.
Methods
impl<K> KeyedCount<K>
fn new(service: &Service, name: String) -> KeyedCount<K>
Create a new KeyedCount histogram with a given name.
Argument name is used as key when processing and exporting
the data. Each name must be unique to the Service.
Panics
If name is already used by another histogram in service.