Skip to content

Commit

Permalink
Merge pull request #4349 from spidernet-io/add-filter-condition
Browse files Browse the repository at this point in the history
Add filter condition for grafana RDMA workload dashboard
  • Loading branch information
lou-lan authored Dec 3, 2024
2 parents 480c042 + e5635f6 commit 30911ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions charts/spiderpool/files/grafana-rdma-workload.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (owner_name) (\n rate(rdma_rx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\"}[1m])\n)",
"expr": "sum by (owner_name) (\n rate(rdma_rx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n +\n rate(rdma_rx_vport_rdma_multicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -211,7 +211,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (owner_name) (\n rate(rdma_tx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\"}[1m])\n)",
"expr": "sum by (owner_name) (\n rate(rdma_tx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n +\n rate(rdma_tx_vport_rdma_multicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -330,7 +330,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (pod_name) (\n rate(rdma_rx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n)",
"expr": "sum by (pod_name) (\n rate(rdma_rx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n +\n rate(rdma_rx_vport_rdma_multicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n)",
"interval": "",
"legendFormat": "{{pod_name}}",
"range": true,
Expand Down Expand Up @@ -436,7 +436,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by (pod_name) (\n rate(rdma_tx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n)",
"expr": "sum by (pod_name) (\n rate(rdma_tx_vport_rdma_unicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n +\n rate(rdma_tx_vport_rdma_multicast_bytes_total{owner_namespace=~\"$namespace\", owner_kind=~\"$kind\", owner_name=~\"$name\"}[1m])\n)",
"interval": "",
"legendFormat": "{{pod_name}}",
"range": true,
Expand Down Expand Up @@ -1007,6 +1007,6 @@
"timezone": "",
"title": "Spiderpool RDMA | AI Workload",
"uid": "AAT6f2ZNz",
"version": 40,
"version": 43,
"weekStart": ""
}

0 comments on commit 30911ec

Please sign in to comment.