[−][src]Type Definition opentelemetry::exporter::metrics::prometheus::HistogramVec
type HistogramVec = MetricVec<HistogramVecBuilder>;
A Collector that bundles a set of Histograms that all share the
same Desc, but have different values for their variable labels. This is used
if you want to count the same thing partitioned by various dimensions
(e.g. HTTP request latencies, partitioned by status code and method).
Trait Implementations
impl Instrument<HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for HistogramVec[src]
fn record_one(&self, value: MeasurementValue, label_set: &LabelSet)[src]
record a single measure measurement value
impl Measure<f64, HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for HistogramVec[src]
type Handle = MeasureHandle
The handle type for the implementing Measure.
fn measurement(&self, value: f64) -> Measurement<LabelSet>[src]
Creates a Measurement object to be used by a Meter when batch recording.
fn acquire_handle(&self, labels: &LabelSet) -> Self::Handle[src]
Creates a handle for this instrument.