Process dashboard: show number of available CPUs

Change-Id: Ifbf13edb2dfa8f5cee64aea3f9dca006d419ef20
This commit is contained in:
Matthias Sohn 2020-03-13 17:14:04 +01:00
parent 8daaa2695f
commit 4a96ed4947

View file

@ -250,7 +250,13 @@
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"seriesOverrides": [
{
"alias": "available CPUs",
"color": "#1F60C4",
"fill": 0
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
@ -259,6 +265,11 @@
"expr": "rate(proc_cpu_usage{instance=\"$instance\"}[5m])",
"legendFormat": "used CPUs",
"refId": "A"
},
{
"expr": "proc_cpu_num_cores{instance=\"$instance\"}",
"legendFormat": "available CPUs",
"refId": "B"
}
],
"thresholds": [],