Macro vector_core::update_counter

source ยท
macro_rules! update_counter {
    ($label:literal, $value:expr) => { ... };
}
Expand description

This macro is used to emit metrics as a counter while simultaneously converting from absolute values to incremental values.

Values that do not arrive in strictly monotonically increasing order are ignored and will not be emitted.