Struct opentelemetry::metrics::ValueRecorderBuilder
source · [−]pub struct ValueRecorderBuilder<'a, T> { /* private fields */ }
This is supported on crate feature
metrics
only.Expand description
Initialization configuration for a given ValueRecorder
.
Implementations
Set the description for this ValueRecorder
Creates a new value recorder.
Creates a new value recorder.
Panics
This function panics if the instrument cannot be created. Use try_init if you want to handle errors.