Struct opentelemetry::metrics::UpDownCounterBuilder [−][src]
pub struct UpDownCounterBuilder<'a, T> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
Configuration for a new up down counter.
Implementations
Set the description for this counter
Creates a new counter instrument.
Creates a new counter instrument.
Panics
This function panics if the instrument cannot be created. Use try_init if you want to handle errors.