Struct opentelemetry::sdk::export::metrics::Buckets[][src]

pub struct Buckets { /* fields omitted */ }
This is supported on crate feature metrics only.
Expand description

Buckets represent histogram buckets boundaries and counts.

For a Histogram with N defined boundaries, e.g, [x, y, z]. There are N+1 counts: [-inf, x), [x, y), [y, z), [z, +inf]

Implementations

Create new buckets

Boundaries of the histogram buckets

Counts of the histogram buckets

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.