Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RocksDB functionality: counters and gauges sometimes do not increment/change #24

Closed
timvaillancourt opened this issue Aug 18, 2016 · 0 comments

Comments

@timvaillancourt
Copy link

timvaillancourt commented Aug 18, 2016

The getServerStatus output for RocksDB was designed to be human-friendly and when numbers in the output get large the precision of the number disappears by applying human-friendly units, example: 10,000,000 will become the string "10M" in the output with no decimal precision.

The problem with this is it cannot be realistically graphed. The number needs to change from 10 million to 11 million for a change to occur in the number, and thus the graphs/metrics we are visualising with this tool.

Example:

rs2:PRIMARY> db.serverStatus().rocksdb.stats[14]
Cumulative writes: 10M writes, 63M keys, 10M batches, 1.0 writes per batch, ingest: 7.50 GB, 0.01 MB/s

This issue is to track a need for a feature in RocksDB or MongoRocks for machine-friendly output values, or at very least numbers with full precision, to resolve this problem.

@timvaillancourt timvaillancourt changed the title RocksDB functionality: counters/gauges do not increment at some volumes RocksDB functionality: counters and gauges sometimes do not increment/change Aug 18, 2016
dbmurphy added a commit that referenced this issue Oct 25, 2016
shivas referenced this issue in trustpilot/mongodb_exporter Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant