Skip to content

Commit

Permalink
[824] init delete metrics (#826)
Browse files Browse the repository at this point in the history
* init delete metrics

* Update Changelog

* fixup! Update Changelog
  • Loading branch information
archeoss authored Aug 9, 2023
1 parent e872daa commit 04b2914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions bob-common/src/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 04b2914

Please sign in to comment.