Struct hornet::client::metric::GaugeVector [] [src]

pub struct GaugeVector { /* fields omitted */ }

A gauge vector for multiple floating point values with helper methods for incrementing and decrementing their value

Internally uses an InstanceMetric<f64> with Semantics::Instant and Count::One scale, and 1 count dimension

Methods

impl GaugeVector
[src]

[src]

Creates a new gauge vector with given initial value and instances

[src]

Returns the current gauge of the instance

[src]

Sets the gauge of the instance

[src]

Increments the gauge of the instance by the given value

The wrapping Option is None if the instance wasn't found

[src]

Decrements the gauge of the instance by the given value

The wrapping Option is None if the instance wasn't found

[src]

Increments the gauge of all instances by the given value

[src]

Decrements the gauge of all instances by the given value

[src]

Resets the gauge of the instance to the initial value that was passed when creating the vector

The wrapping Option is None if the instance wasn't found

[src]

Resets the gauge of all instances to the initial value that was passed when creating the vector

[src]

Internally created instance domain