From 04b29143fca041910103c693524729ed67d416d8 Mon Sep 17 00:00:00 2001 From: Simeon Romanov <68448737+archeoss@users.noreply.github.com> Date: Thu, 10 Aug 2023 01:19:36 +0300 Subject: [PATCH] [824] init delete metrics (#826) * init delete metrics * Update Changelog * fixup! Update Changelog --- CHANGELOG.md | 1 + bob-common/src/metrics/mod.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42f89a8d..6097ede3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ Bob versions changelog #### Fixed - Fix memory leak due to prometheus lib (#788) +- Fix for grinder delete metrics not being initialized (#824) #### Updated - Pearl updated to v0.19.0 (#798) diff --git a/bob-common/src/metrics/mod.rs b/bob-common/src/metrics/mod.rs index 3b2b178c..c915897e 100644 --- a/bob-common/src/metrics/mod.rs +++ b/bob-common/src/metrics/mod.rs @@ -306,10 +306,12 @@ fn init_grinder() { register_counter!(GRINDER_GET_COUNTER); register_counter!(GRINDER_PUT_COUNTER); register_counter!(GRINDER_EXIST_COUNTER); + register_counter!(GRINDER_DELETE_COUNTER); register_counter!(GRINDER_EXIST_KEYS_COUNT_COUNTER); register_counter!(GRINDER_GET_ERROR_COUNT_COUNTER); register_counter!(GRINDER_PUT_ERROR_COUNT_COUNTER); register_counter!(GRINDER_EXIST_ERROR_COUNT_COUNTER); + register_counter!(GRINDER_DELETE_ERROR_COUNT_COUNTER); register_counter!(GRINDER_EXIST_ERROR_KEYS_COUNT_COUNTER); }