Stabilize VPN flow pressure heartbeat
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user