-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export expvar metrics of badger to the metricsFactory (#1704)
* Export expvar metrics of badger to the metricsFactory Signed-off-by: Michael Burman <[email protected]> * Add test for metrics collector. Fix the maintenance interval, it should be every 5m not 5s and default table loading mode should stick to memory mapping Signed-off-by: Michael Burman <[email protected]> * Address comments, add test for map existence, channel closing and use map inner key for metric tag Signed-off-by: Michael Burman <[email protected]> * Remove directory tag from the metric name Signed-off-by: Michael Burman <[email protected]>
- Loading branch information
1 parent
4d698ef
commit dcaea9d
Showing
3 changed files
with
136 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters