Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • bytes-written-rate [bytes/s]
  • bytes-written-total [bytes]
  • bytes-read-rate [bytes/s]
  • bytes-read-total [bytes]
  • memtable-bytes-flushed-rate [bytes/s]
  • memtable-bytes-flushed-total [bytes]
  • memtable-flush-time-(avg|min|max) [ms]
  • memtable-hit-rate
  • block-cache-data-hit-rate
  • block-cache-index-hit-rate
  • block-cache-filter-hit-rate
  • bytes-read-compaction-rate [bytes/s]
  • bytes-written-compaction-rate [bytes/s]
  • compaction-time-(avg|min|max) [ms]
  • write-stall-duration-(avg|total) [ms]
  • num-open-files
  • num-file-errors-total

The recording level for all metrics will be DEBUG.

Proposed Changes

In this section, I will explain the meaning of the metrics listed in the previous section and why I chose them. Generally, I tried to choose the metrics that are useful independently of any specific configuration of the RocksDB instances. Furthermore, I tried to keep the number of metrics at a minimum, because adding metrics in future is easier than deleting them from a backward-compatibility point of view. Finally, I will explain how to compute metrics for state stores that consist of multiple RocksDB instances, e.g., window and session stores.

...