Skip to main content

delete_counter

Function delete_counter 

Source
pub fn delete_counter(key: Key) -> bool
Expand description

Deletes an internal counter from the metrics registry.

If the counter exists and metrics snapshots are being consumed, this sends any pending counter delta before the eviction update so downstream consumers do not lose the final increment.