This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PAN-2853] Create a metric tracking DB size (#1662)
* [PAN-2853] Create a metric tracking DB size - create a Prometheus long gauge to track the database size - `rocksdb.live-sst-files-size` : https://github.com/facebook/rocksdb/blob/872a261ffc2a440dfe9e60d99e421e42f5f2cf5e/include/rocksdb/db.h#L685 - use `rocksdb.live-sst-files-size` property rather than `rocksdb.total-sst-files-size` (performance purpose: see warning https://github.com/facebook/rocksdb/blob/872a261ffc2a440dfe9e60d99e421e42f5f2cf5e/include/rocksdb/db.h#L680) - add tests to check creation of metrics * fix wildcard import
- Loading branch information
1 parent
d158c04
commit 44e405c
Showing
3 changed files
with
117 additions
and
6 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