pub fn delete_counter(key: Key) -> boolExpand 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.