Skip to content

Commit

Permalink
docs: Actualize grafana dashboards for v0.33 (#5546)
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Tienkaiev <[email protected]>
Co-authored-by: jigisha620 <[email protected]>
  • Loading branch information
Hronom and jigisha620 authored Feb 6, 2024
1 parent c4e557e commit 2bbceae
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum by ($distribution_filter)(\n karpenter_pods_state{arch=~\"$arch\", capacity_type=~\"$capacity_type\", instance_type=~\"$instance_type\", provisioner=~\"$provisioner\"}\n)",
"expr": "sum by ($distribution_filter)(\n karpenter_pods_state{arch=~\"$arch\", capacity_type=~\"$capacity_type\", instance_type=~\"$instance_type\", nodepool=~\"$nodepool\"}\n)",
"legendFormat": "{{label_name}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -588,7 +588,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "karpenter_provisioner_usage{resource_type=\"cpu\"} / karpenter_provisioner_limit{resource_type=\"cpu\"}",
"expr": "karpenter_nodepool_usage{resource_type=\"cpu\"} / karpenter_nodepool_limit{resource_type=\"cpu\"}",
"format": "table",
"instant": true,
"legendFormat": "CPU Limit Utilization",
Expand All @@ -602,7 +602,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "count by (provisioner)(karpenter_nodes_allocatable{provisioner!=\"N/A\",resource_type=\"cpu\"}) # Selects a single resource type to get node count",
"expr": "count by (nodepool)(karpenter_nodes_allocatable{nodepool!=\"N/A\",resource_type=\"cpu\"}) # Selects a single resource type to get node count",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -616,7 +616,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "karpenter_provisioner_usage{resource_type=\"memory\"} / karpenter_provisioner_limit{resource_type=\"memory\"}",
"expr": "karpenter_nodepool_usage{resource_type=\"memory\"} / karpenter_nodepool_limit{resource_type=\"memory\"}",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -631,7 +631,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (provisioner)(karpenter_nodes_allocatable{provisioner!=\"N/A\",resource_type=\"cpu\"})",
"expr": "sum by (nodepool)(karpenter_nodes_allocatable{nodepool!=\"N/A\",resource_type=\"cpu\"})",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -645,20 +645,20 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (provisioner)(karpenter_nodes_allocatable{provisioner!=\"N/A\",resource_type=\"memory\"})",
"expr": "sum by (nodepool)(karpenter_nodes_allocatable{nodepool!=\"N/A\",resource_type=\"memory\"})",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "Memory Capacity"
}
],
"title": "Provisioner Summary",
"title": "Nodepool Summary",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "provisioner"
"byField": "nodepool"
}
},
{
Expand Down Expand Up @@ -697,7 +697,7 @@
"instance 2": 12,
"job 1": 9,
"job 2": 13,
"provisioner": 0,
"nodepool": 0,
"resource_type 1": 10,
"resource_type 2": 14
},
Expand All @@ -714,7 +714,7 @@
"instance": "",
"instance 1": "",
"job": "",
"provisioner": "Provisioner"
"nodepool": "Nodepool"
}
}
}
Expand Down Expand Up @@ -804,7 +804,7 @@
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "(count(karpenter_nodes_allocatable{arch=~\"$arch\",capacity_type=\"spot\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"}) or vector(0)) / count(karpenter_nodes_allocatable{arch=~\"$arch\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"})",
"expr": "(count(karpenter_nodes_allocatable{arch=~\"$arch\",capacity_type=\"spot\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"}) or vector(0)) / count(karpenter_nodes_allocatable{arch=~\"$arch\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"})",
"legendFormat": "Percentage",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -946,7 +946,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "((karpenter_nodes_total_daemon_requests{resource_type=\"cpu\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0) + \n(karpenter_nodes_total_pod_requests{resource_type=\"cpu\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0)) / \nkarpenter_nodes_allocatable{resource_type=\"cpu\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"}",
"expr": "((karpenter_nodes_total_daemon_requests{resource_type=\"cpu\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0) + \n(karpenter_nodes_total_pod_requests{resource_type=\"cpu\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0)) / \nkarpenter_nodes_allocatable{resource_type=\"cpu\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"}",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -961,7 +961,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "((karpenter_nodes_total_daemon_requests{resource_type=\"memory\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0) + \n(karpenter_nodes_total_pod_requests{resource_type=\"memory\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0)) / \nkarpenter_nodes_allocatable{resource_type=\"memory\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"}",
"expr": "((karpenter_nodes_total_daemon_requests{resource_type=\"memory\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0) + \n(karpenter_nodes_total_pod_requests{resource_type=\"memory\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"} or karpenter_nodes_allocatable*0)) / \nkarpenter_nodes_allocatable{resource_type=\"memory\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"}",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -976,7 +976,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "karpenter_nodes_total_daemon_requests{resource_type=\"pods\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"} + \nkarpenter_nodes_total_pod_requests{resource_type=\"pods\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"}",
"expr": "karpenter_nodes_total_daemon_requests{resource_type=\"pods\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"} + \nkarpenter_nodes_total_pod_requests{resource_type=\"pods\",arch=~\"$arch\",capacity_type=~\"$capacity_type\",instance_type=~\"$instance_type\",nodepool=~\"$nodepool\",zone=~\"$zone\"}",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -1091,9 +1091,9 @@
"os 1": true,
"os 2": true,
"os 3": true,
"provisioner 1": false,
"provisioner 2": true,
"provisioner 3": true,
"nodepool 1": false,
"nodepool 2": true,
"nodepool 3": true,
"resource_type": true,
"resource_type 1": true,
"resource_type 2": true,
Expand Down Expand Up @@ -1161,9 +1161,9 @@
"os 1": 23,
"os 2": 41,
"os 3": 61,
"provisioner 1": 2,
"provisioner 2": 42,
"provisioner 3": 62,
"nodepool 1": 2,
"nodepool 2": 42,
"nodepool 3": 62,
"resource_type 1": 24,
"resource_type 2": 43,
"resource_type 3": 63,
Expand All @@ -1190,7 +1190,7 @@
"instance_type": "Instance Type",
"instance_type 1": "Instance Type",
"node_name": "Node Name",
"provisioner 1": "Provisioner",
"nodepool 1": "Nodepool",
"zone 1": "Zone"
}
}
Expand Down Expand Up @@ -1237,14 +1237,14 @@
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(karpenter_nodes_allocatable, provisioner)",
"definition": "label_values(karpenter_nodes_allocatable, nodepool)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "provisioner",
"name": "nodepool",
"options": [],
"query": {
"query": "label_values(karpenter_nodes_allocatable, provisioner)",
"query": "label_values(karpenter_nodes_allocatable, nodepool)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand Down Expand Up @@ -1376,8 +1376,8 @@
{
"current": {
"selected": true,
"text": "provisioner",
"value": "provisioner"
"text": "nodepool",
"value": "nodepool"
},
"hide": 0,
"includeAll": false,
Expand Down Expand Up @@ -1411,16 +1411,16 @@
},
{
"selected": true,
"text": "provisioner",
"value": "provisioner"
"text": "nodepool",
"value": "nodepool"
},
{
"selected": false,
"text": "zone",
"value": "zone"
}
],
"query": "arch,capacity_type,instance_type,namespace,node,provisioner,zone",
"query": "arch,capacity_type,instance_type,namespace,node,nodepool,zone",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
Expand Down
Loading

0 comments on commit 2bbceae

Please sign in to comment.