Module sui_core::metrics

source ·

Structs§

  • RateTracker tracks events in a rolling window, and calculates the rate of events. Internally, the tracker divides the tracking window into multiple BIN_DURATION, and counts events in each BIN_DURATION in a fixed sized buffer.