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

Cleanup some metrics #203

Merged
merged 1 commit into from
Dec 3, 2018
Merged

Cleanup some metrics #203

merged 1 commit into from
Dec 3, 2018

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Dec 3, 2018

Remove mem_fragmentation_ratio:

  • Comes from redis_memory_used_rss_bytes / redis_memory_used_bytes.
  • Metric only provides 2 digits of accuracy compared to calculation.

Add allocator metrics.

Cleanup Prometheus naming of commands metrics names to avoid confusing
references to being a "Summary" metric, it's not.

Remove total_system_memory, this duplicates node_exporter metrics.

Signed-off-by: Ben Kochie [email protected]

Remove `mem_fragmentation_ratio`:
* Comes from `redis_memory_used_rss_bytes / redis_memory_used_bytes`.
* Metric only provides 2 digits of accuracy compared to calculation.

Add allocator metrics.

Cleanup Prometheus naming of commands metrics names to avoid confusing
references to being a "Summary" metric, it's not.

Remove `total_system_memory`, this duplicates node_exporter metrics.

Signed-off-by: Ben Kochie <[email protected]>
@codecov
Copy link

codecov bot commented Dec 3, 2018

Codecov Report

Merging #203 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   85.02%   85.02%           
=======================================
  Files           2        2           
  Lines         621      621           
=======================================
  Hits          528      528           
  Misses         67       67           
  Partials       26       26
Impacted Files Coverage Δ
exporter/redis.go 87.9% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77c2c78...e2a2611. Read the comment docs.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 88.204% when pulling e2a2611 on SuperQ:cleanup into 77c2c78 on oliver006:master.

@oliver006
Copy link
Owner

Looks good, thank you!

@oliver006 oliver006 merged commit 10045b8 into oliver006:master Dec 3, 2018
@SuperQ SuperQ deleted the cleanup branch December 4, 2018 00:08
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

Successfully merging this pull request may close these issues.

4 participants