[−][src]Type Definition opentelemetry::exporter::metrics::prometheus::IntGaugeVec
type IntGaugeVec = MetricVec<GaugeVecBuilder<AtomicI64>>;
The integer version of GaugeVec
. Provides better performance if metric values
are all integers.
Trait Implementations
impl Gauge<i64, HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for IntGaugeVec
[src]
type Handle = IntGaugeHandle
The handle type for the implementing Gauge
.
fn measurement(&self, value: i64) -> 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 IntGaugeVec
[src]
fn record_one(&self, value: MeasurementValue, label_set: &LabelSet)
[src]
record a single gauge measurement value