Compare link health, latency and packet loss. Inspect loss history and review a traffic switch when enabled by the host application.
WAN Link Health · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotWanUplinksSnapshot | null (optional)
Site, confirmed active link ID, link readings and optional freshness and last route change. Omit for the interactive example or pass null when telemetry is unavailable.
Optional host command. Verify the expected active link and target eligibility, reject a failed or conflicting request, and feed back the active route in snapshot. Omit for monitoring only.
indexnumber (optional)
Offsets link entry animation in a widget grid.
Data and integration
Preview
A fictional exchange with a degraded fiber route and a healthy 5G standby. Explicitly switching the example changes the displayed route locally.
Inputs
Supply site, ordered links with stable unique IDs and activeLinkId, or null if the route is unknown. Link health is healthy, degraded, down or unknown. latencyMs is nonnegative milliseconds and lossPercent is 0–100, or null for unavailable readings. Optional kind is fiber, ethernet, cellular or satellite. carrier, lossTargetPercent (0–100), observedAt and lossHistory provide context. All times (observedAt, lastSwitchAt, lossHistory[].at) are Unix milliseconds and display in UTC.
Source options
Map the routing controller's active ID, latest telemetry and history at the host. Publish the health reported by the controller and mark stale using the host freshness policy. Set switchAllowed to true only for destinations the host currently permits. A switch request does not change any link's reported health.
Actions
Open a link for its history and inspect it by drag or arrow keys. Switching requires a fresh snapshot, a known active route, an allowed healthy or degraded destination and a callback. Review both links before confirming. If the source route, destination eligibility or destination health changes, review the latest state. An accepted request awaits a refreshed route before another switch can be sent.
Integration requirements
The chart orders samples chronologically and keeps the last sample for a duplicate timestamp. It spaces samples by elapsed time, marks missing samples in the history summary and breaks the line when a supplied sample is null. Packet loss above the optional target is highlighted independently of reported link health. The host owns authorization, concurrent route checks and the final route state.