[−][src]Type Definition opentelemetry::exporter::metrics::prometheus::GaugeVec
type GaugeVec = MetricVec<GaugeVecBuilder<AtomicF64>>;
A Collector
that bundles a set of Gauge
s 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. number of operations queued, partitioned by user and operation type).
Trait Implementations
impl Gauge<f64, HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for GaugeVec
[src]
type Handle = GaugeHandle
The handle type for the implementing Gauge
.
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.
fn set(&self, value: T, label_set: &LS)
[src]
impl Instrument<HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for GaugeVec
[src]
fn record_one(&self, value: MeasurementValue, label_set: &LabelSet)
[src]
record a single gauge measurement value