Expiring Hash Scan and GC instrumentation
Please review commit-by-commit
This MR instruments the ExpiringHash
and ExpiringHashAPI
with metrics for the amount of keys deleted during a ScanAndGC
and GC
operation.
The keys deleted are recorded in a histogram named after the operation (one for ScanAndGC
and one for GC
). Each record will be associated with the hash (e.g. connected_agents
) and the subkey.
Edited by Timo Furrer