Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dashboard for NodeLatencyMonitor feature #455

Open
antoninbas opened this issue Aug 6, 2024 · 1 comment
Open

Add dashboard for NodeLatencyMonitor feature #455

antoninbas opened this issue Aug 6, 2024 · 1 comment
Assignees

Comments

@antoninbas
Copy link
Contributor

Antrea v2.1 introduced the NodeLatencyMonitor feature, which provides an API reporting inter-Node latency measurements in a K8s cluster.
For example:

kubectl get nodelatencystats/kind-worker -o yaml
apiVersion: stats.antrea.io/v1alpha1
kind: NodeLatencyStats
metadata:
  creationTimestamp: null
  name: kind-worker
peerNodeLatencyStats:
- nodeName: kind-control-plane
  targetIPLatencyStats:
  - lastMeasuredRTTNanoseconds: 5837000
    lastRecvTime: "2024-07-26T22:40:03Z"
    lastSendTime: "2024-07-26T22:40:33Z"
    targetIP: 10.10.0.1
- nodeName: kind-worker2
  targetIPLatencyStats:
  - lastMeasuredRTTNanoseconds: 4704000
    lastRecvTime: "2024-07-26T22:40:03Z"
    lastSendTime: "2024-07-26T22:40:33Z"
    targetIP: 10.10.2.1

(Performing a List operation on all NodeLatencyStats resources will return the latency information reported by each individual Node)

This information should be displayed in antrea-ui, via a dedicated dashboard.
The dashboard should be able to handle small (<10 Nodes) and very large (1,000 Nodes) clusters gracefully.
Maybe something similar to the ping mesh visualization dashboard developed by Microsoft.

Besides a global high-level view showing the overall health of the cluster (in the style of ping mesh), the dashboard should also:

  • display aggregated stats (mean latency, median latency, max latency, ...)
  • highlight issues (e.g., is there a Node with multiple ingress / egress links down?)
  • enable users to search for / select a specific Node by name and display its measurements
@IRONICBo
Copy link

IRONICBo commented Aug 7, 2024

@antoninbas Please assign this issue to me, I will split it into small steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants