sui_core

Module 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.