Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2853] Create a metric tracking DB size #1662

Conversation

AbdelStark
Copy link
Contributor

PR description

Fixed Issue(s)

- 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
@AbdelStark AbdelStark added enhancement New feature or request performance Related to performance labels Jul 9, 2019
@AbdelStark AbdelStark merged commit 44e405c into PegaSysEng:master Jul 9, 2019
@AbdelStark AbdelStark deleted the feature/pan-2853-metric-tracking-db-size branch August 23, 2019 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request performance Related to performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants