From d1dfa20047d9e5e4bacdbdb9f3bb764731ca8e3d Mon Sep 17 00:00:00 2001 From: Ankit Nayan Date: Mon, 2 Sep 2024 19:19:18 +0530 Subject: [PATCH 1/2] updated with CPU and memory requests and limits percentage --- .../kubernetes-pod-metrics-overall.json | 1293 ++++++++++++++--- 1 file changed, 1125 insertions(+), 168 deletions(-) diff --git a/k8s-infra-metrics/kubernetes-pod-metrics-overall.json b/k8s-infra-metrics/kubernetes-pod-metrics-overall.json index f8a2ade..686561c 100644 --- a/k8s-infra-metrics/kubernetes-pod-metrics-overall.json +++ b/k8s-infra-metrics/kubernetes-pod-metrics-overall.json @@ -1,10 +1,11 @@ { "collapsableRowsMigrated": true, "description": "", + "image": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMuNTMxNDggMTUuMDA0OEM0LjAzMjk3IDE0LjkwNzUgNC4zMjM4NCAxNC4yMzI2IDQuMTgxMTUgMTMuNDk3M0M0LjAzODQ3IDEyLjc2MiAzLjUxNjI2IDEyLjI0NDggMy4wMTQ3OCAxMi4zNDIxQzIuNTEzMjkgMTIuNDM5NCAyLjIyMjQyIDEzLjExNDQgMi4zNjUxIDEzLjg0OTdDMi41MDc3OSAxNC41ODUgMy4wMjk5OSAxNS4xMDIxIDMuNTMxNDggMTUuMDA0OFoiIGZpbGw9IiM2MTYxNjEiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yLjgwNTAxIDEzLjc3NDNDMi41OTc2MSAxMi4wMDgyIDIuNDcwMjQgMTAuMTU5MiAyLjU1MTY2IDguNDg2MzNMMy4zMDA3MyA4LjUyMjc4QzMuMjIyMTYgMTAuMTM3MyAzLjM0NDc4IDExLjk0M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0iIzIxMjEyMSIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyMTIxMjEiIHN0b3Atb3BhY2l0eT0iMCIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=", "layout": [ { - "h": 7, - "i": "e16d581d-1da9-49ff-9c3b-1bb51c2f7730", + "h": 6, + "i": "058dc2a3-8c61-432f-9f8b-2579a1195645", "moved": false, "static": false, "w": 6, @@ -12,8 +13,8 @@ "y": 0 }, { - "h": 7, - "i": "18c1653b-f826-460d-9302-90bc6d3f5e52", + "h": 6, + "i": "99f0ee0f-9196-42a0-845a-bc1c8863e745", "moved": false, "static": false, "w": 6, @@ -22,12 +23,39 @@ }, { "h": 7, - "i": "a2cd4e4a-0b81-4a85-937f-48ca5c9f183b", + "i": "c1162485-c09b-4dde-9c4e-3ec490194174", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 6 + }, + { + "h": 7, + "i": "e16d581d-1da9-49ff-9c3b-1bb51c2f7730", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 6 + }, + { + "h": 7, + "i": "18c1653b-f826-460d-9302-90bc6d3f5e52", "moved": false, "static": false, "w": 6, "x": 0, - "y": 7 + "y": 13 + }, + { + "h": 7, + "i": "1ee07267-4c64-47ee-97a9-3eeb3521f11d", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 13 }, { "h": 7, @@ -35,8 +63,17 @@ "moved": false, "static": false, "w": 6, + "x": 0, + "y": 20 + }, + { + "h": 7, + "i": "a2cd4e4a-0b81-4a85-937f-48ca5c9f183b", + "moved": false, + "static": false, + "w": 6, "x": 6, - "y": 7 + "y": 20 } ], "name": "", @@ -60,7 +97,8 @@ "order": 1, "queryValue": "SELECT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time' AND JSONExtractString(labels, 'k8s_cluster_name') = {{.k8s_cluster_name}}\nGROUP BY k8s_node_name", "selectedValue": [ - "default" + "ip-172-31-19-255.us-east-2.compute.internal", + "ip-172-31-6-61.us-east-2.compute.internal" ], "showALLOption": true, "sort": "ASC", @@ -68,6 +106,7 @@ "type": "QUERY" }, "3c276fb0-b95b-42f8-b209-9953dd46d62c": { + "allSelected": false, "customValue": "", "description": "The k8s namespace name", "id": "3c276fb0-b95b-42f8-b209-9953dd46d62c", @@ -76,12 +115,11 @@ "name": "k8s_namespace_name", "order": 2, "queryValue": "SELECT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_pod_cpu_time' AND JSONExtractString(labels, 'k8s_cluster_name') IN {{.k8s_cluster_name}} AND JSONExtractString(labels, 'k8s_node_name') IN {{.k8s_node_name}}\nGROUP BY k8s_namespace_name\n", + "selectedValue": "amazon-cloudwatch", "showALLOption": false, "sort": "ASC", "textboxValue": "", - "type": "QUERY", - "selectedValue": "default", - "allSelected": false + "type": "QUERY" }, "4349d5be-eea6-41d2-9c8f-853ca85f018d": { "allSelected": false, @@ -94,7 +132,7 @@ "name": "k8s_cluster_name", "order": 0, "queryValue": "SELECT JSONExtractString(labels, 'k8s_cluster_name') AS k8s_cluster_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time'\nGROUP BY k8s_cluster_name", - "selectedValue": "default", + "selectedValue": "brainfish-dev-eksCluster-9f00c47", "showALLOption": false, "sort": "DISABLED", "textboxValue": "", @@ -121,20 +159,20 @@ { "aggregateAttribute": { "dataType": "float64", - "id": "k8s_pod_cpu_time--float64--Sum--true", + "id": "container_cpu_utilization--float64--Gauge--true", "isColumn": true, "isJSON": false, - "key": "k8s_pod_cpu_time", - "type": "Sum" + "key": "container_cpu_utilization", + "type": "Gauge" }, - "aggregateOperator": "rate", + "aggregateOperator": "avg", "dataSource": "metrics", - "disabled": false, + "disabled": true, "expression": "A", "filters": { "items": [ { - "id": "877385bf", + "id": "0a862947", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", @@ -146,7 +184,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "877385bf", + "id": "cd13fbf0", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -160,7 +198,7 @@ ] }, { - "id": "61f9230d", + "id": "a3475869", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -178,40 +216,116 @@ }, "functions": [], "groupBy": [ - { - "dataType": "string", - "id": "k8s_node_name--string--tag--false", - "isColumn": false, - "key": "k8s_node_name", - "type": "tag" - }, { "dataType": "string", "id": "k8s_pod_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_pod_name", "type": "tag" - }, + } + ], + "having": [], + "legend": "usage - {{k8s_pod_name}}", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "sum", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "avg" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "k8s_container_cpu_limit--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "k8s_container_cpu_limit", + "type": "Gauge" + }, + "aggregateOperator": "latest", + "dataSource": "metrics", + "disabled": true, + "expression": "B", + "filters": { + "items": [ + { + "id": "bfb8acf7", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{.k8s_cluster_name}}" + }, + { + "id": "e09ba819", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_node_name}}" + ] + }, + { + "id": "09e1ccb3", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_namespace_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ { "dataType": "string", - "id": "k8s_namespace_name--string--tag--false", + "id": "k8s_pod_name--string--tag--false", "isColumn": false, - "key": "k8s_namespace_name", + "isJSON": false, + "key": "k8s_pod_name", "type": "tag" } ], "having": [], - "legend": "{{k8s_namespace_name}}-{{k8s_pod_name}}", + "legend": "limit - {{k8s_pod_name}}", "limit": null, "orderBy": [], - "queryName": "A", - "reduceTo": "sum", + "queryName": "B", + "reduceTo": "avg", "spaceAggregation": "sum", "stepInterval": 60, - "timeAggregation": "rate" + "timeAggregation": "latest" } ], - "queryFormulas": [] + "queryFormulas": [ + { + "disabled": false, + "expression": "A*100/B", + "legend": "{{k8s_pod_name}}", + "queryName": "F1" + } + ] }, "clickhouse_sql": [ { @@ -221,7 +335,7 @@ "query": "" } ], - "id": "8bc531e9-41fc-4989-9e45-75691903aafe", + "id": "6d5ccd81-0ea1-4fb9-a66b-7f0fe2f15165", "promql": [ { "disabled": false, @@ -239,8 +353,8 @@ "stackedBarChart": false, "thresholds": [], "timePreferance": "GLOBAL_TIME", - "title": "Pod CPU usage", - "yAxisUnit": "none" + "title": "Pod CPU usage [% of Limit]", + "yAxisUnit": "percent" }, { "bucketCount": 30, @@ -273,7 +387,7 @@ "filters": { "items": [ { - "id": "877385bf", + "id": "c0f3e7ef", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", @@ -285,7 +399,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "cfd49200", + "id": "ae457343", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -299,7 +413,7 @@ ] }, { - "id": "a9fb8a7e", + "id": "786af3f5", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -317,24 +431,11 @@ }, "functions": [], "groupBy": [ - { - "dataType": "string", - "id": "k8s_node_name--string--tag--false", - "isColumn": false, - "key": "k8s_node_name", - "type": "tag" - }, - { - "dataType": "string", - "id": "k8s_namespace_name--string--tag--false", - "isColumn": false, - "key": "k8s_namespace_name", - "type": "tag" - }, { "dataType": "string", "id": "k8s_pod_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_pod_name", "type": "tag" } @@ -365,7 +466,7 @@ "filters": { "items": [ { - "id": "877385bf", + "id": "8a387fb7", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", @@ -377,7 +478,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "c70ccfc4", + "id": "6ce28dde", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -391,7 +492,7 @@ ] }, { - "id": "58740964", + "id": "3a50eee8", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -409,24 +510,11 @@ }, "functions": [], "groupBy": [ - { - "dataType": "string", - "id": "k8s_node_name--string--tag--false", - "isColumn": false, - "key": "k8s_node_name", - "type": "tag" - }, - { - "dataType": "string", - "id": "k8s_namespace_name--string--tag--false", - "isColumn": false, - "key": "k8s_namespace_name", - "type": "tag" - }, { "dataType": "string", "id": "k8s_pod_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_pod_name", "type": "tag" } @@ -446,7 +534,7 @@ { "disabled": false, "expression": "(B-A)/B", - "legend": "{{k8s_node_name}}-{{k8s_namespace_name}}-{{k8s_pod_name}}", + "legend": "{{k8s_pod_name}}", "queryName": "F1" } ] @@ -459,7 +547,7 @@ "query": "" } ], - "id": "16908d4e-1565-4847-8d87-01ebb8fc494a", + "id": "bbdc1096-339c-490c-a977-6eff00e3d72f", "promql": [ { "disabled": false, @@ -477,7 +565,7 @@ "stackedBarChart": false, "thresholds": [], "timePreferance": "GLOBAL_TIME", - "title": "Pod filesystem usage", + "title": "Pod filesystem usage [%]", "yAxisUnit": "percentunit" }, { @@ -498,20 +586,20 @@ { "aggregateAttribute": { "dataType": "float64", - "id": "k8s_pod_memory_working_set--float64--Gauge--true", + "id": "container_memory_usage--float64--Gauge--true", "isColumn": true, "isJSON": false, - "key": "k8s_pod_memory_working_set", + "key": "container_memory_usage", "type": "Gauge" }, "aggregateOperator": "avg", "dataSource": "metrics", - "disabled": false, + "disabled": true, "expression": "A", "filters": { "items": [ { - "id": "877385bf", + "id": "ea3df3e7", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", @@ -523,7 +611,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "c6107830", + "id": "39b21fe0", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -537,7 +625,7 @@ ] }, { - "id": "9e3c50e2", + "id": "70d4d85c", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -555,30 +643,17 @@ }, "functions": [], "groupBy": [ - { - "dataType": "string", - "id": "k8s_node_name--string--tag--false", - "isColumn": false, - "key": "k8s_node_name", - "type": "tag" - }, - { - "dataType": "string", - "id": "k8s_namespace_name--string--tag--false", - "isColumn": false, - "key": "k8s_namespace_name", - "type": "tag" - }, { "dataType": "string", "id": "k8s_pod_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_pod_name", "type": "tag" } ], "having": [], - "legend": "{{k8s_namespace_name}}-{{k8s_pod_name}}", + "legend": "", "limit": null, "orderBy": [], "queryName": "A", @@ -586,75 +661,29 @@ "spaceAggregation": "sum", "stepInterval": 60, "timeAggregation": "avg" - } - ], - "queryFormulas": [] - }, - "clickhouse_sql": [ - { - "disabled": false, - "legend": "", - "name": "A", - "query": "" - } - ], - "id": "103626b5-910c-4262-88ed-0a136d0a0f0f", - "promql": [ - { - "disabled": false, - "legend": "", - "name": "A", - "query": "" - } - ], - "queryType": "builder" - }, - "selectedLogFields": [], - "selectedTracesFields": [], - "softMax": 0, - "softMin": 0, - "stackedBarChart": false, - "thresholds": [], - "timePreferance": "GLOBAL_TIME", - "title": "Pod memory usage (WSS)", - "yAxisUnit": "bytes" - }, - { - "bucketCount": 30, - "bucketWidth": 0, - "columnUnits": {}, - "description": "", - "fillSpans": false, - "id": "a2cd4e4a-0b81-4a85-937f-48ca5c9f183b", - "isStacked": false, - "mergeAllActiveQueries": false, - "nullZeroValues": "zero", - "opacity": "1", - "panelTypes": "graph", - "query": { - "builder": { - "queryData": [ + }, { "aggregateAttribute": { "dataType": "float64", - "id": "k8s_pod_network_io--float64--Sum--true", + "id": "k8s_container_memory_request--float64--Gauge--true", "isColumn": true, "isJSON": false, - "key": "k8s_pod_network_io", - "type": "Sum" + "key": "k8s_container_memory_request", + "type": "Gauge" }, - "aggregateOperator": "rate", + "aggregateOperator": "latest", "dataSource": "metrics", - "disabled": false, - "expression": "A", + "disabled": true, + "expression": "B", "filters": { "items": [ { - "id": "877385bf", + "id": "7401a4b9", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_cluster_name", "type": "tag" }, @@ -662,25 +691,27 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "9613b4da", + "id": "7cdad1cb", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_node_name", "type": "tag" }, "op": "in", "value": [ - "{{.k8s_node_name}}" + "{{k8s_node_name}}" ] }, { - "id": "7605354f", + "id": "bd954dbe", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", "isColumn": false, + "isJSON": false, "key": "k8s_namespace_name", "type": "tag" }, @@ -696,19 +727,152 @@ "groupBy": [ { "dataType": "string", - "id": "interface--string--tag--false", - "isColumn": false, - "key": "interface", - "type": "tag" - }, - { - "dataType": "string", - "id": "direction--string--tag--false", + "id": "k8s_pod_name--string--tag--false", "isColumn": false, - "key": "direction", + "isJSON": false, + "key": "k8s_pod_name", "type": "tag" - }, - { + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "latest" + } + ], + "queryFormulas": [ + { + "disabled": false, + "expression": "A*100/B", + "legend": "{{k8s_pod_name}}", + "queryName": "F1" + } + ] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "4d03a0ff-4fa5-4b19-b397-97f80ba9e0ac", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [], + "selectedTracesFields": [], + "softMax": 0, + "softMin": 0, + "stackedBarChart": false, + "thresholds": [], + "timePreferance": "GLOBAL_TIME", + "title": "Pod memory usage [% of Request]", + "yAxisUnit": "percent" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "a2cd4e4a-0b81-4a85-937f-48ca5c9f183b", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "k8s_pod_network_io--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "k8s_pod_network_io", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "877385bf", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{.k8s_cluster_name}}" + }, + { + "id": "9613b4da", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_node_name}}" + ] + }, + { + "id": "7605354f", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_namespace_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "interface--string--tag--false", + "isColumn": false, + "key": "interface", + "type": "tag" + }, + { + "dataType": "string", + "id": "direction--string--tag--false", + "isColumn": false, + "key": "direction", + "type": "tag" + }, + { "dataType": "string", "id": "k8s_node_name--string--tag--false", "isColumn": false, @@ -771,6 +935,799 @@ "timePreferance": "GLOBAL_TIME", "title": "Pod network IO", "yAxisUnit": "bytes" - } - ] -} \ No newline at end of file + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "c1162485-c09b-4dde-9c4e-3ec490194174", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "container_cpu_utilization--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "container_cpu_utilization", + "type": "Gauge" + }, + "aggregateOperator": "avg", + "dataSource": "metrics", + "disabled": true, + "expression": "A", + "filters": { + "items": [ + { + "id": "8426b52f", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{.k8s_cluster_name}}" + }, + { + "id": "2f67240c", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_node_name}}" + ] + }, + { + "id": "49a4cff0", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_namespace_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "k8s_pod_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_pod_name", + "type": "tag" + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "sum", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "avg" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "k8s_container_cpu_request--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "k8s_container_cpu_request", + "type": "Gauge" + }, + "aggregateOperator": "latest", + "dataSource": "metrics", + "disabled": true, + "expression": "B", + "filters": { + "items": [ + { + "id": "8c4667e1", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{.k8s_cluster_name}}" + }, + { + "id": "b16e7306", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_node_name}}" + ] + }, + { + "id": "fd3b4fca", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_namespace_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "k8s_pod_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_pod_name", + "type": "tag" + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "latest" + } + ], + "queryFormulas": [ + { + "disabled": false, + "expression": "A*100/B", + "legend": "{{k8s_pod_name}}", + "queryName": "F1" + } + ] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "7bb3a6f5-d1c6-4f2e-9cc9-7dcc46db398f", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [], + "selectedTracesFields": [], + "softMax": 0, + "softMin": 0, + "stackedBarChart": false, + "thresholds": [], + "timePreferance": "GLOBAL_TIME", + "title": "Pod CPU usage [% of Request]", + "yAxisUnit": "percent" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "1ee07267-4c64-47ee-97a9-3eeb3521f11d", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "container_memory_usage--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "container_memory_usage", + "type": "Gauge" + }, + "aggregateOperator": "avg", + "dataSource": "metrics", + "disabled": true, + "expression": "A", + "filters": { + "items": [ + { + "id": "f2a3175c", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{.k8s_cluster_name}}" + }, + { + "id": "fc17ff21", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_node_name}}" + ] + }, + { + "id": "967c7d3a", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_namespace_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "k8s_pod_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_pod_name", + "type": "tag" + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "sum", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "avg" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "k8s_container_memory_limit--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "k8s_container_memory_limit", + "type": "Gauge" + }, + "aggregateOperator": "latest", + "dataSource": "metrics", + "disabled": true, + "expression": "B", + "filters": { + "items": [ + { + "id": "175e96b7", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{.k8s_cluster_name}}" + }, + { + "id": "1d9fbe48", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{k8s_node_name}}" + ] + }, + { + "id": "21432efc", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.k8s_namespace_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "k8s_pod_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_pod_name", + "type": "tag" + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "latest" + } + ], + "queryFormulas": [ + { + "disabled": false, + "expression": "A*100/B", + "legend": "{{k8s_pod_name}}", + "queryName": "F1" + } + ] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "ad491f19-0f83-4dd4-bb8f-bec295c18d1b", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [], + "selectedTracesFields": [], + "softMax": 0, + "softMin": 0, + "stackedBarChart": false, + "thresholds": [], + "timePreferance": "GLOBAL_TIME", + "title": "Pod memory usage [% of Limit]", + "yAxisUnit": "percent" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "058dc2a3-8c61-432f-9f8b-2579a1195645", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "container_cpu_utilization--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "container_cpu_utilization", + "type": "Gauge" + }, + "aggregateOperator": "avg", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "521dbf00", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{k8s_namespace_name}}" + ] + }, + { + "id": "6e050953", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{k8s_cluster_name}}" + }, + { + "id": "60fe5e62", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{k8s_node_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "k8s_pod_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_pod_name", + "type": "tag" + } + ], + "having": [], + "legend": "{{k8s_pod_name}}", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "avg" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "9b92756a-b445-45f8-90f4-d26f3ef28f8f", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + { + "dataType": "string", + "id": "responseStatusCode--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "responseStatusCode", + "type": "tag" + } + ], + "softMax": 0, + "softMin": 0, + "stackedBarChart": false, + "thresholds": [], + "timePreferance": "GLOBAL_TIME", + "title": "CPU usage", + "yAxisUnit": "none" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "99f0ee0f-9196-42a0-845a-bc1c8863e745", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "container_memory_usage--float64--Gauge--true", + "isColumn": true, + "isJSON": false, + "key": "container_memory_usage", + "type": "Gauge" + }, + "aggregateOperator": "avg", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "a4250695", + "key": { + "dataType": "string", + "id": "k8s_cluster_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_cluster_name", + "type": "tag" + }, + "op": "=", + "value": "{{k8s_cluster_name}}" + }, + { + "id": "289f1c9b", + "key": { + "dataType": "string", + "id": "k8s_namespace_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_namespace_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{k8s_namespace_name}}" + ] + }, + { + "id": "3b2bc32b", + "key": { + "dataType": "string", + "id": "k8s_node_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_node_name", + "type": "tag" + }, + "op": "in", + "value": [ + "{{k8s_node_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "k8s_pod_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "k8s_pod_name", + "type": "tag" + } + ], + "having": [], + "legend": "{{k8s_pod_name}}", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "avg" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "a22c1e03-4876-4b3e-9a96-a3c3a28f9c0f", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + { + "dataType": "string", + "id": "responseStatusCode--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "responseStatusCode", + "type": "tag" + } + ], + "softMax": 0, + "softMin": 0, + "stackedBarChart": false, + "thresholds": [], + "timePreferance": "GLOBAL_TIME", + "title": "Memory Usage", + "yAxisUnit": "bytes" + } + ], + "uuid": "b4670688-06ca-429d-99b6-a71703a585b9" +} From a81d2da8a8dbbf16038a2e6fb65e9b843e9fe138 Mon Sep 17 00:00:00 2001 From: Ankit Nayan Date: Mon, 2 Sep 2024 19:20:35 +0530 Subject: [PATCH 2/2] remove `image` field --- k8s-infra-metrics/kubernetes-pod-metrics-overall.json | 1 - 1 file changed, 1 deletion(-) diff --git a/k8s-infra-metrics/kubernetes-pod-metrics-overall.json b/k8s-infra-metrics/kubernetes-pod-metrics-overall.json index 686561c..e383465 100644 --- a/k8s-infra-metrics/kubernetes-pod-metrics-overall.json +++ b/k8s-infra-metrics/kubernetes-pod-metrics-overall.json @@ -1,7 +1,6 @@ { "collapsableRowsMigrated": true, "description": "", - "image": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMuNTMxNDggMTUuMDA0OEM0LjAzMjk3IDE0LjkwNzUgNC4zMjM4NCAxNC4yMzI2IDQuMTgxMTUgMTMuNDk3M0M0LjAzODQ3IDEyLjc2MiAzLjUxNjI2IDEyLjI0NDggMy4wMTQ3OCAxMi4zNDIxQzIuNTEzMjkgMTIuNDM5NCAyLjIyMjQyIDEzLjExNDQgMi4zNjUxIDEzLjg0OTdDMi41MDc3OSAxNC41ODUgMy4wMjk5OSAxNS4xMDIxIDMuNTMxNDggMTUuMDA0OFoiIGZpbGw9IiM2MTYxNjEiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yLjgwNTAxIDEzLjc3NDNDMi41OTc2MSAxMi4wMDgyIDIuNDcwMjQgMTAuMTU5MiAyLjU1MTY2IDguNDg2MzNMMy4zMDA3MyA4LjUyMjc4QzMuMjIyMTYgMTAuMTM3MyAzLjM0NDc4IDExLjk0MDUgMy41NDk4NSAxMy42ODY4TDIuODA1MDEgMTMuNzc0M1oiIGZpbGw9IiM2MTYxNjEiLz4KPHBhdGggZD0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