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

Commits on Sep 16, 2021

  1. feat(metrics): Add Badger metrics.

    * badger_blocked_puts_total
    * badger_pending_writes_total
    * badger_compactions_current
    danielmai committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    16f5623 View commit details
    Browse the repository at this point in the history
  2. Fix nil.

    danielmai committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    35af73d View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Fix exposed label for badger_pending_writes_total.

    It's a map not a scalar, so the map keys are exposed under "dir".
    
    Example:
    
    badger_pending_writes_total{dir="p"} 0
    danielmai committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    c305e2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d368fba View commit details
    Browse the repository at this point in the history