Macro prometheus::register_int_counter_with_registry [−][src]
macro_rules! register_int_counter_with_registry {
($OPTS : expr, $REGISTRY : expr $(,) ?) => { ... };
($NAME : expr, $HELP : expr, $REGISTRY : expr $(,) ?) => { ... };
}
Expand description
Create an [IntCounter
] and registers to a custom registry.
View docs of register_counter_with_registry
for examples.