Flow Stats Telemetry
The Flow Stats telemetry provides periodic runtime statistics for active flows, especially long-lived sessions such as streaming, VPN, and persistent service connections. It complements flow metadata by reporting ongoing packet, byte, and rate counters while a flow remains active.
This record is most valuable for near-real-time monitoring and QoE analysis. Tracking directional throughput and TCP health metrics over time helps detect performance degradation, congestion, and retransmission-related issues before a flow is closed.
Requirements
Flow Stats telemetry was introduced in the Core Plugin in version 1.0.20. To begin streaming the telemetry:
- Install and configure the Netify Agent
- Install and configure a Sink Plugin for receiving the telemetry
- Install and configure the Core Plugin and add stream-flows to types
- Source
- Core Plugin
- Plugin Release
- 1.0.20
Attributes
type
stringinterface
stringinternal
booleanflow
objectflow.detection_packets
integerflow.digest
stringflow.digest_prev
array[string]flow.last_seen_at
integerflow.local_bytes
integerflow.local_packets
integerflow.local_rate
integerflow.other_bytes
integerflow.other_packets
integerflow.other_rate
integerflow.tcp
objectflow.tcp.resets
integerflow.tcp.retrans
integerflow.tcp.seq_errors
integerflow.total_bytes
integerflow.total_packets
integerFlow Stats Attributes - Example
{
"flow": {
"detection_packets": 2,
"digest": "c3086c57745b...",
"digest_prev": [
"fcd1061d4c2ba844..."
],
"last_seen_at": 1772665318561,
"local_bytes": 5559,
"local_packets": 6,
"local_rate": 5559,
"other_bytes": 913,
"other_packets": 6,
"other_rate": 913,
"tcp": {
"resets": 0,
"retrans": 0,
"seq_errors": 0
},
"total_bytes": 613175,
"total_packets": 1064
},
"interface": "wlp3s0",
"internal": true,
"type": "flow_stats"
}