Struct prometheus::local::LocalCounter [] [src]

pub struct LocalCounter { /* fields omitted */ }

Methods

impl LocalCounter
[src]

[src]

[src]

inc_by increments the given value to the local counter. Error if the value is < 0.

[src]

inc increments the local counter by 1.

[src]

get returns the local counter value.

[src]

flush the local counter value to the counter