Struct opentelemetry::metrics::UpDownCounterBuilder
source · [−]pub struct UpDownCounterBuilder<'a, T> { /* private fields */ }
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.