Stabilize VPN flow pressure heartbeat

This commit is contained in:
2026-05-16 13:31:31 +03:00
parent c1f8840235
commit 3c139d307c
2 changed files with 5 additions and 0 deletions
@@ -3265,6 +3265,9 @@ func heartbeatPayload(cfg config.Config, identity state.Identity, meshState *syn
if meshState != nil && meshState.VPNFabricSessionDialStats != nil {
report["dial_stats"] = meshState.VPNFabricSessionDialStats.Report(observedAt)
}
report["flow_pressure"] = vpnFabricFlowPressureReport(vpnruntime.FabricFlowSchedulerSnapshot{
PressureLevel: "nominal",
})
if meshState != nil && meshState.VPNFabricIngress != nil {
ingressSnapshot := meshState.VPNFabricIngress.Snapshot(identity.ClusterID)
report["flow_pressure"] = vpnFabricFlowPressureReport(ingressSnapshot.FlowScheduler)