Skip to content

Commit

Permalink
Fix RDMA multicast metric in node dashboard
Browse files Browse the repository at this point in the history
- Update PromQL query from `rx_vport_rdma_multicast_bytes_total` to `tx_vport_rdma_multicast_bytes_total`

Signed-off-by: lou-lan <[email protected]>
  • Loading branch information
lou-lan committed Mar 3, 2025
1 parent c72c2d0 commit d5a3609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/spiderpool/files/grafana-rdma-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "rate(rdma_tx_vport_rdma_unicast_bytes_total{pod_name=\"\", node_name=~\"$node\",cluster=~\"$cluster\"}[$__rate_interval]) +\nrate(rdma_rx_vport_rdma_multicast_bytes_total{pod_name=\"\", node_name=~\"$node\",cluster=~\"$cluster\"}[$__rate_interval])",
"expr": "rate(rdma_tx_vport_rdma_unicast_bytes_total{pod_name=\"\", node_name=~\"$node\",cluster=~\"$cluster\"}[$__rate_interval]) +\nrate(rdma_tx_vport_rdma_multicast_bytes_total{pod_name=\"\", node_name=~\"$node\",cluster=~\"$cluster\"}[$__rate_interval])",
"legendFormat": "{{net_dev_name}}",
"range": true,
"refId": "A"
Expand Down

0 comments on commit d5a3609

Please sign in to comment.