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

feat(metrics): Add Badger metrics. #8034

Merged
merged 4 commits into from
Sep 21, 2021
Merged

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Sep 16, 2021

These metrics have been part of Badger for a while. This PR exports them in Prometheus format at the /metrics endpoint.

  • badger_blocked_puts_total
  • badger_pending_writes_total
  • badger_compactions_current

This change is Reviewable

* badger_blocked_puts_total
* badger_pending_writes_total
* badger_compactions_current
It's a map not a scalar, so the map keys are exposed under "dir".

Example:

badger_pending_writes_total{dir="p"} 0
@danielmai danielmai merged commit 3d1b8c5 into master Sep 21, 2021
@danielmai danielmai deleted the danielmai/metrics-badger branch September 21, 2021 05:26
mangalaman93 pushed a commit that referenced this pull request Mar 7, 2023
These metrics have been part of Badger for a while. This PR
exports them in orometheus format at the /metrics endpoint.

 * badger_blocked_puts_total
 * badger_pending_writes_total
 * badger_compactions_current
mangalaman93 added a commit that referenced this pull request Mar 7, 2023
These metrics have been part of Badger for a while. This PR
exports them in orometheus format at the /metrics endpoint.

 * badger_blocked_puts_total
 * badger_pending_writes_total
 * badger_compactions_current
mangalaman93 added a commit that referenced this pull request Mar 9, 2023
These metrics have been part of Badger for a while. This PR exports them
in prometheus format at the /metrics endpoint.

 * badger_blocked_puts_total
 * badger_pending_writes_total
 * badger_compactions_current

fixes #8481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants