Struct opentelemetry::metrics::UpDownSumObserverBuilder[][src]

pub struct UpDownSumObserverBuilder<'a, T> { /* fields omitted */ }
This is supported on crate feature metrics only.
Expand description

Configuration options for building a UpDownSumObserver

Implementations

Set the description of this UpDownSumObserver

Set the unit for this UpDownSumObserver.

Create a UpDownSumObserver from this configuration.

Create a UpDownSumObserver from this configuration.

Panics

This method panics if it cannot create an instrument with the provided config. If you want to handle results instead, use try_init

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.