Module collector Copy item path Source Collector A collector is a wrapper around a metric with some attributes. Counter A counter metric. Alias for opentelemetry::metrics::Counter<T>. CounterF64 A counter metric with a f64 value. CounterU64 A counter metric with a u64 value. Gauge A gauge metric. Alias for opentelemetry::metrics::Gauge<T>.
Gauge metrics are used to record a value at the current time, and are not
aggregated. If you need to record a value that can be aggregated, use a
Counter or UpDownCounter instead. GaugeF64 A gauge metric with a f64 value. GaugeI64 A gauge metric with a i64 value. GaugeU64 A gauge metric with a u64 value. Histogram A histogram metric. Alias for opentelemetry::metrics::Histogram<T>. HistogramF64 A histogram metric with a f64 value. HistogramU64 A histogram metric with a u64 value. UpDownCounter A updown counter metric. Alias for
opentelemetry::metrics::UpDownCounter<T>. UpDownCounterF64 A updown counter metric with a f64 value. UpDownCounterI64 A updown counter metric with a i64 value.