diff --git a/k8s-infra-metrics/kubernetes-pod-metrics-overall.json b/k8s-infra-metrics/kubernetes-pod-metrics-overall.json index f8a2aded..e383465b 100644 --- a/k8s-infra-metrics/kubernetes-pod-metrics-overall.json +++ b/k8s-infra-metrics/kubernetes-pod-metrics-overall.json @@ -3,8 +3,8 @@ "description": "", "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 +12,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 +22,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 +62,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 +96,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 +105,7 @@ "type": "QUERY" }, "3c276fb0-b95b-42f8-b209-9953dd46d62c": { + "allSelected": false, "customValue": "", "description": "The k8s namespace name", "id": "3c276fb0-b95b-42f8-b209-9953dd46d62c", @@ -76,12 +114,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 +131,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 +158,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 +183,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "877385bf", + "id": "cd13fbf0", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -160,7 +197,7 @@ ] }, { - "id": "61f9230d", + "id": "a3475869", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -178,40 +215,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 +334,7 @@ "query": "" } ], - "id": "8bc531e9-41fc-4989-9e45-75691903aafe", + "id": "6d5ccd81-0ea1-4fb9-a66b-7f0fe2f15165", "promql": [ { "disabled": false, @@ -239,8 +352,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 +386,7 @@ "filters": { "items": [ { - "id": "877385bf", + "id": "c0f3e7ef", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", @@ -285,7 +398,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "cfd49200", + "id": "ae457343", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -299,7 +412,7 @@ ] }, { - "id": "a9fb8a7e", + "id": "786af3f5", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -317,24 +430,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 +465,7 @@ "filters": { "items": [ { - "id": "877385bf", + "id": "8a387fb7", "key": { "dataType": "string", "id": "k8s_cluster_name--string--tag--false", @@ -377,7 +477,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "c70ccfc4", + "id": "6ce28dde", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -391,7 +491,7 @@ ] }, { - "id": "58740964", + "id": "3a50eee8", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -409,24 +509,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 +533,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 +546,7 @@ "query": "" } ], - "id": "16908d4e-1565-4847-8d87-01ebb8fc494a", + "id": "bbdc1096-339c-490c-a977-6eff00e3d72f", "promql": [ { "disabled": false, @@ -477,7 +564,7 @@ "stackedBarChart": false, "thresholds": [], "timePreferance": "GLOBAL_TIME", - "title": "Pod filesystem usage", + "title": "Pod filesystem usage [%]", "yAxisUnit": "percentunit" }, { @@ -498,20 +585,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 +610,7 @@ "value": "{{.k8s_cluster_name}}" }, { - "id": "c6107830", + "id": "39b21fe0", "key": { "dataType": "string", "id": "k8s_node_name--string--tag--false", @@ -537,7 +624,7 @@ ] }, { - "id": "9e3c50e2", + "id": "70d4d85c", "key": { "dataType": "string", "id": "k8s_namespace_name--string--tag--false", @@ -555,30 +642,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 +660,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 +690,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 +726,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 +934,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" +}