Skip to content

Commit

Permalink
fix spot executor graph (#8248)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanja-p authored Jan 24, 2025
1 parent 74c58d1 commit 4b33e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/metrics/grafana/dashboards/globalstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@
"uid": "vm"
},
"editorMode": "code",
"expr": "sum by (pooltype) (\n label_replace(\n label_replace(\n label_replace(\n node_uname_info{component=\"node-exporter\", nodename=~\".*executor.*\", region=~\"(us-central1|us-west1|us-west2)\"},\n \"nodepool\", \"$1\", \"nodename\", \"^gke-prod-[^-]*-(.*)-[0-9a-f]{8}-(grp-)?.{4}$\"\n ),\n \"pooltype\", \"spot\", \"nodepool\", \"^spot-.*$\"\n ),\n \"pooltype\", \"non-spot\", \"nodepool\", \"^(bb|executor)-.*$\"\n )\n)",
"expr": "sum by (pooltype) (\n label_replace(\n label_replace(\n label_replace(\n label_replace(\n node_uname_info{component=\"node-exporter\", nodename=~\".*executor.*\", region=~\"(us-central1|us-west1|us-west2)\"},\n \"nodepool\", \"$2\", \"nodename\", \"^gke-(dev|prod)-[^-]*-(.*)-[0-9a-f]{8}-(grp-)?.{4}$\"\n ),\n \"pooltype\", \"spot\", \"nodepool\", \"^spot-.*$\"\n ),\n \"pooltype\", \"non-spot\", \"nodepool\", \"^(bb|executor)-.*$\"\n ),\n \"pooltype\", \"workflows\", \"nodepool\", \"^(workflow-executor)-.*$\"\n )\n)",
"instant": false,
"legendFormat": "__auto",
"range": true,
Expand Down

0 comments on commit 4b33e09

Please sign in to comment.