<- Back to Templates
Kubernetes Pod Level
By KloudMate
Monitoring Kubernetes pods with KM Agent provides deep visibility into the performance and health of the smallest deployable units in a cluster, you can collect pod-level metrics such as CPU and memory requests vs. usage and network traffic.

Template JSON
{
"name": "K8s Pod Level",
"description": "",
"data": {
"tz": "local",
"panels": [
{
"id": "212u1s3bluk",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "percentage",
"suffix": "",
"decimals": 3
}
},
"STATS": {},
"title": "CPU Utilization",
"tooltip": {
"mode": "all"
},
"panelType": "STATS",
"timeRange": "1h",
"statConfig": {
"format": "percentage",
"decimals": 1,
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "RATE",
"type": "",
"unit": "{cpu}",
"field": "",
"range": "5m",
"value": "k8s_pod_cpu_usage",
"metric": "k8s_pod_cpu_usage",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "avg",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "gf78ttltp5j",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 3
}
},
"STATS": {},
"title": "Memory Usage",
"tooltip": {
"mode": "all"
},
"panelType": "STATS",
"timeRange": "1h",
"statConfig": {
"format": "bytes",
"decimals": 1,
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_memory_usage",
"metric": "k8s_pod_memory_usage",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "avg",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "6on3z9gjo0e",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 1
}
},
"title": "Memory by State",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_memory_working_set",
"metric": "k8s_pod_memory_working_set",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Working Set",
"responseType": "series"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_memory_rss",
"metric": "k8s_pod_memory_rss",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "RSS",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "n55chhotln",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"decimals": 3
}
},
"title": "Memory Page Faults",
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "1",
"field": "",
"value": "k8s_pod_memory_major_page_faults",
"metric": "k8s_pod_memory_major_page_faults",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Major Page Fault"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "0tjq9pawkx5i",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"decimals": 3
}
},
"title": "Network Errors",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "direction"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "1",
"field": "",
"value": "k8s_pod_network_errors",
"metric": "k8s_pod_network_errors",
"metricType": "Sum",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "{{direction}}"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "bc6itqfo3n",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"suffix": "/s",
"decimals": 1
}
},
"title": "Network IO",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "direction"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_network_io_rate",
"metric": "k8s_pod_network_io_rate",
"metricType": "Sum",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "{{direction}}"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "a82t3be8gzk",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 1
}
},
"title": "Filesytem",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_filesystem_capacity",
"metric": "k8s_pod_filesystem_capacity",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Capacity",
"responseType": "series"
},
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_filesystem_usage",
"metric": "k8s_pod_filesystem_usage",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Usage",
"responseType": "series"
},
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "C",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_filesystem_available",
"metric": "k8s_pod_filesystem_available",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Available",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "p9tvvc1n7n",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "duration",
"decimals": 3,
"multiplyBy": 1000
}
},
"STATS": {},
"table": {},
"title": "Number of Containers in Pod",
"panelType": "STATS",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "cluster",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "COUNT",
"type": "",
"unit": "s",
"field": "",
"value": "container_cpu_time",
"metric": "container_cpu_time",
"metricType": "Sum",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "dclxn594ynk",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "unformatted",
"suffix": "cpu",
"decimals": 3,
"multiplyBy": ""
}
},
"title": "CPU Limit & Usage",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "10m",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": true,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "1",
"field": "",
"value": "k8s_pod_cpu_request_utilization",
"metric": "k8s_pod_cpu_request_utilization",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Usage"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": true,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "{cpu}",
"field": "",
"value": "k8s_container_cpu_request",
"metric": "k8s_container_cpu_request",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Request",
"responseType": "series"
},
{
"type": "expression",
"hidden": false,
"nodeId": "Usage",
"expression": "$A*$B",
"expressionType": "math"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "V",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "{cpu}",
"field": "",
"value": "k8s_container_cpu_limit",
"metric": "k8s_container_cpu_limit",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Limit",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "fa945pcsgwn",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes_iec",
"suffix": "",
"decimals": 1
}
},
"title": "Memory Limit & Usage",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "10m",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"hidden": true,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "1",
"field": "",
"value": "k8s_pod_memory_request_utilization",
"metric": "k8s_pod_memory_request_utilization",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Usage"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": true,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_container_memory_request",
"metric": "k8s_container_memory_request",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Request",
"responseType": "series"
},
{
"type": "expression",
"hidden": false,
"nodeId": "Usage",
"expression": "$A*$B",
"expressionType": "math"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "V",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_pod_name",
"value": "$pod",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_container_memory_limit",
"metric": "k8s_container_memory_limit",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "Limit",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
}
],
"timeRange": "1h",
"variables": [
{
"name": "pod",
"type": "query",
"label": "Pod",
"config": {
"otel": {
"key": {
"type": "string",
"field": "k8s_pod_name"
},
"dataset": "metrics"
},
"source": "cloudwatch",
"queryType": "otel.values"
},
"is_multi": false,
"description": "",
"show_all_option": false
},
{
"name": "cluster",
"type": "query",
"label": "Cluster",
"config": {
"otel": {
"key": {
"type": "string",
"field": "cluster"
},
"dataset": "metrics"
},
"source": "cloudwatch",
"queryType": "otel.values"
},
"is_multi": false,
"description": "",
"show_all_option": false
}
],
"panel_layouts": [
{
"h": 7,
"i": "212u1s3bluk",
"w": 8,
"x": 16,
"y": 0,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 7,
"i": "gf78ttltp5j",
"w": 8,
"x": 8,
"y": 0,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "6on3z9gjo0e",
"w": 12,
"x": 12,
"y": 15,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "n55chhotln",
"w": 8,
"x": 0,
"y": 23,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "0tjq9pawkx5i",
"w": 8,
"x": 16,
"y": 23,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "bc6itqfo3n",
"w": 8,
"x": 8,
"y": 23,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "a82t3be8gzk",
"w": 12,
"x": 0,
"y": 15,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 7,
"i": "p9tvvc1n7n",
"w": 8,
"x": 0,
"y": 0,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "dclxn594ynk",
"w": 12,
"x": 0,
"y": 7,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "fa945pcsgwn",
"w": 12,
"x": 12,
"y": 7,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
}
],
"default_region": "us-east-1"
},
"tags": []
}