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

Expose rocksdb cumulative statistics and histograms #853

Merged
merged 2 commits into from
Feb 11, 2024

Commits on Jan 15, 2024

  1. Expose rocksdb cumulative statistics and histograms

    This exposes rocksdb statistics (tickers and histograms) to allow rust-rocksdb users to introspect individual metrics.
    Additionally, this PR also adds `set_statistics_level(StatsLevel)` to `Options` for fine-grain control over which
    stats are collected.
    
    Tickers and histograms are available in `rocksdb::statistics::{Ticker, Histogram}` with the necessary helpers to
    convert the ticker type to the corresponding rocksdb name (and vice-versa via the `FromStr` trait).
    
    Test Plan:
    - New test added in test_db.rs
    - Sanity check unit tests in statistics.rs
    AhmedSoliman committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    1678156 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. docs for public methods

    AhmedSoliman committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    e696bef View commit details
    Browse the repository at this point in the history