Module stats

Module stats 

Source
Expand description

Node statistics tracking and reporting.

This module provides types and utilities for collecting runtime statistics from nodes during pipeline execution. Statistics are throttled to prevent overload (typically every 10 seconds or 1000 packets).

Structsยง

NodeStats
Runtime statistics for a node, tracking packet processing metrics.
NodeStatsTracker
Helper for tracking and throttling node statistics updates. Automatically sends updates every 10 seconds or 1000 packets.
NodeStatsUpdate
A statistics update message sent by a node to report its current metrics. These updates are throttled to prevent overload (typically every 10s or 1000 packets).