Struct prometheus_utils::IntGaugeWithLabels[][src]

pub struct IntGaugeWithLabels<L: Labels> { /* fields omitted */ }
Expand description

A Prometheus integer gauge metric, with labels described by the type L.

The type L must implement the Labels trait; see the documentation for that trait for an overview of Prometheus metric labels.

Implementations

Construct and immediately register a new IntGaugeWithLabels instance.

Set the value of the gauge with the provided labels.

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.