Versions Compared

Key

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

...

Public Interfaces

New Metrics

NameTypeScopeDescription
number-open-iteratorsValuestream-state-metricsThe current number of Iterators on the store that have been created, but not yet closed.
iterator-duration-avgAveragestream-state-metricsThe average time spent between creating an Iterator and closing it, in milliseconds.
iterator-duration-totalTotalstream-state-metricsThe total time spent between creating Iterators and closing them, in milliseconds.

Proposed Changes

The number-open-iterators metric will periodically record the difference between the NO_ITERATOR_CREATED and NO_ITERATOR_DELETED RocksDB Tickers. This value is likely to be non-zero in any application that heavily uses Iterators, even if they're being used properly and are not a performance concern. Users would want to monitor this metric and take action if:

...