<- Back to Templates
Kubernetes Namespace Level
By KloudMate
Kubernetes namespaces monitoring using KM Agent, provides visibility into key metrics including CPU and memory utilization, pod counts, network traffic aggregated per namespace.

Template JSON
{
"name": "k8s Namespace Level",
"description": "",
"data": {
"tz": "local",
"panels": [
{
"id": "rgwuox0l1c",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"decimals": 1
}
},
"STATS": {},
"table": {},
"title": "CPU Request & Limit ",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"TimeSeries": {},
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "sum by (k8s_namespace_name) (avg by (k8s_container_name, k8s_namespace_name, k8s_pod_name) (k8s_container_cpu_limit{k8s_namespace_name=\"$namespace\", k8s_cluster_name=\"$cluster\"}))",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "promql",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"field": ""
},
"datasourceId": "kloudmate",
"legendFormat": "limit",
"responseType": "series"
},
{
"exp": "sum by (k8s_namespace_name) (avg by (k8s_container_name, k8s_namespace_name, k8s_pod_name) (k8s_container_cpu_request{k8s_namespace_name=\"$namespace\", k8s_cluster_name=\"$cluster\"}))",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "promql",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"field": ""
},
"datasourceId": "kloudmate",
"legendFormat": "request",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "202aluq7qem",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 1
}
},
"title": "Memory Limit & Request",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "sum by (k8s_namespace_name) (avg by (k8s_container_name, k8s_namespace_name, k8s_pod_name) (k8s_container_memory_limit{k8s_namespace_name=\"$namespace\", k8s_cluster_name=\"$cluster\"}))",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "promql",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"field": ""
},
"datasourceId": "kloudmate",
"legendFormat": "limit",
"responseType": "series"
},
{
"exp": "sum by (k8s_namespace_name) (avg by (k8s_container_name, k8s_namespace_name, k8s_pod_name) (k8s_container_memory_request{k8s_namespace_name=\"$namespace\", k8s_cluster_name=\"$cluster\"}))",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "promql",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"field": ""
},
"datasourceId": "kloudmate",
"legendFormat": "request",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "euvlglt7jnw",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"decimals": 1
}
},
"title": "Network Error",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "sum by (k8s_namespace_name, direction) (avg by (k8s_namespace_name, k8s_pod_name, direction) (k8s_pod_network_errors{k8s_namespace_name=\"$namespace\", cluster=\"$cluster\"}))",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "default",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_namespace_name"
},
{
"type": "string",
"field": "k8s_pod_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "promql",
"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}}",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "80o3tevrmhn",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"suffix": "/s",
"decimals": 1
}
},
"STATS": {},
"table": {
"columns": [
{
"key": "A",
"rename": ""
}
]
},
"title": "Network IO Rate",
"tooltip": {
"mode": "all"
},
"panelType": "TimeSeries",
"timeRange": "5m",
"TimeSeries": {},
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "sum by (k8s_namespace_name, direction)(rate(k8s_pod_network_io{k8s_namespace_name=\"$namespace\", cluster=\"$cluster\"}[5m]))",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "promql",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "By",
"field": "",
"value": "k8s_pod_network_io",
"metric": "k8s_pod_network_io",
"metricType": "Sum",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"legendFormat": "{{direction}}",
"responseType": "series",
"promql_query_type": "range"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "2gqmyayotml",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{pod}",
"decimals": 3
}
},
"STATS": {},
"table": {
"columns": [
{
"key": "A:AVG()",
"rename": "Ready"
},
{
"key": "k8s_statefulset_name",
"rename": ""
},
{
"key": "B:AVG()",
"rename": "Current"
},
{
"key": "C:AVG()",
"rename": "Desired"
},
{
"key": "D:AVG()",
"format": {
"format": "number",
"suffix": "",
"decimals": 3
},
"rename": "Updated"
}
]
},
"title": "Statefulsets",
"panelType": "table",
"timeRange": "1h",
"TimeSeries": {},
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_statefulset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_statefulset_ready_pods",
"metric": "k8s_statefulset_ready_pods",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_statefulset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_statefulset_current_pods",
"metric": "k8s_statefulset_current_pods",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "C",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_statefulset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_statefulset_desired_pods",
"metric": "k8s_statefulset_desired_pods",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "D",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_statefulset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_statefulset_updated_pods",
"metric": "k8s_statefulset_updated_pods",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "0cjxj3gghu05",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{pod}",
"decimals": 3
}
},
"STATS": {},
"table": {
"columns": [
{
"key": "A:AVG()",
"rename": "Ready"
},
{
"key": "k8s_daemonset_name",
"rename": "Daemonsets"
},
{
"key": "B:AVG()",
"rename": "Current"
},
{
"key": "C:AVG()",
"format": {
"format": "number",
"suffix": "",
"decimals": 3
},
"rename": "Desired"
},
{
"key": "D:AVG()",
"format": {
"format": "number",
"suffix": "",
"decimals": 3
},
"rename": "Misscheduled"
}
]
},
"title": "Daemonset",
"panelType": "table",
"timeRange": "1h",
"TimeSeries": {},
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_daemonset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{node}",
"field": "",
"value": "k8s_daemonset_ready_nodes",
"metric": "k8s_daemonset_ready_nodes",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_daemonset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{node}",
"field": "",
"value": "k8s_daemonset_current_scheduled_nodes",
"metric": "k8s_daemonset_current_scheduled_nodes",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "C",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_daemonset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{node}",
"field": "",
"value": "k8s_daemonset_current_scheduled_nodes",
"metric": "k8s_daemonset_current_scheduled_nodes",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "D",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_daemonset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{node}",
"field": "",
"value": "k8s_daemonset_misscheduled_nodes",
"metric": "k8s_daemonset_misscheduled_nodes",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "le4ucy8wvh",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{pod}",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:AVG()",
"rename": "Available"
},
{
"key": "k8s_replicaset_name",
"rename": "Replicaset"
},
{
"key": "B:AVG()",
"rename": "Desired"
}
]
},
"title": "Replicaset",
"panelType": "table",
"timeRange": "1h",
"TimeSeries": {},
"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_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_replicaset_name"
}
],
"orderBy": [
{
"field": "AVG",
"order": "desc"
}
],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_replicaset_available",
"metric": "k8s_replicaset_available",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_replicaset_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_replicaset_desired",
"metric": "k8s_replicaset_desired",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "2tw3u70o9ng",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{pod}",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:AVG()",
"rename": "Available"
},
{
"key": "k8s_deployment_name",
"rename": "Deployment"
},
{
"key": "B:AVG()",
"rename": "Desired"
}
]
},
"title": "Deployment",
"panelType": "table",
"timeRange": "1h",
"TimeSeries": {},
"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_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_deployment_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_deployment_available",
"metric": "k8s_deployment_available",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_deployment_name"
}
],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "{pod}",
"field": "",
"value": "k8s_deployment_desired",
"metric": "k8s_deployment_desired",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "0vvhh1j8mcd",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "percentage",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:AVG()",
"format": {
"format": "percentage",
"decimals": 1
},
"rename": "CPU Req Utilization"
},
{
"key": "k8s_namespace_name",
"rename": ""
},
{
"key": "k8s_pod_name",
"rename": ""
}
]
},
"title": "Pods by CPU Request Utilization",
"panelType": "table",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"limit": "10",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_namespace_name"
},
{
"type": "string",
"field": "k8s_pod_name"
}
],
"orderBy": [
{
"field": "AVG",
"order": "desc"
}
],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "1",
"field": "",
"value": "k8s_pod_cpu_request_utilization",
"metric": "k8s_pod_cpu_request_utilization",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "allj973aib",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:AVG()",
"format": {
"format": "percentage",
"decimals": 1
},
"rename": "Memory Req Utilization"
},
{
"key": "k8s_pod_name",
"rename": "Pods"
}
]
},
"title": "Pods by Memory Request Utilization",
"panelType": "table",
"timeRange": "1h",
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"page": 1,
"stat": "",
"type": "query",
"limit": "",
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_pod_name"
}
],
"orderBy": [
{
"field": "AVG",
"order": "desc"
}
],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "AVG",
"type": "",
"unit": "1",
"field": "",
"value": "k8s_pod_memory_request_utilization",
"metric": "k8s_pod_memory_request_utilization",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "4t9cvxut4ml",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "bytes",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:LAST()",
"format": {
"format": "bytes",
"decimals": 1
},
"rename": "usage"
},
{
"key": "k8s_namespace_name",
"rename": "Namespace"
},
{
"key": "k8s_pod_name",
"rename": "Pod name"
}
]
},
"title": "Pod Memory Usage",
"panelType": "table",
"timeRange": "5m",
"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_namespace_name",
"value": "$Namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_namespace_name"
},
{
"type": "string",
"field": "k8s_pod_name"
}
],
"orderBy": [
{
"field": "LAST",
"order": "desc"
}
],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "By",
"field": "",
"value": "container_memory_working_set",
"metric": "container_memory_working_set",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "hucsexz1f1d",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
}
},
"table": {
"columns": [
{
"key": "A:LAST()",
"format": {
"format": "number",
"suffix": "m",
"decimals": 0,
"multiplyBy": 1000
},
"rename": "Usage by cpu"
},
{
"key": "k8s_namespace_name",
"rename": "Namespace"
},
{
"key": "k8s_pod_name",
"rename": "pod"
}
]
},
"title": "Pod CPU Usage (millicore)",
"panelType": "table",
"timeRange": "5m",
"TimeSeries": {},
"statConfig": {
"statView": "grid",
"baseColor": "#4CBB17",
"calculation": "last"
},
"timeseries": {
"legend": {
"view": "list",
"values": []
}
},
"node_configs": [
{
"exp": "avg by (k8s_namespace_name, k8s_pod_name)(k8s_pod_cpu_usage{k8s_namespace_name=\"$namespace\", cluster=\"$cluster\"})",
"page": 1,
"stat": "",
"type": "query",
"limit": null,
"hidden": false,
"metric": "",
"nodeId": "A",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_namespace_name"
},
{
"type": "string",
"field": "k8s_pod_name"
}
],
"orderBy": [
{
"field": "LAST",
"order": "desc"
}
],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"query_type": "qb",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "LAST",
"type": "",
"unit": "{cpu}",
"field": "",
"value": "container_cpu_usage",
"metric": "container_cpu_usage",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "7vi2fjw80s2",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "unformatted",
"decimals": 3
}
},
"STATS": {},
"title": "Number of Pods",
"panelType": "STATS",
"timeRange": "5m",
"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_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [],
"orderBy": [],
"interval": "",
"namespace": "",
"dimensions": [],
"metricType": "",
"time_range": {
"to": 0,
"from": 600
},
"aggregation": {
"stat": "COUNT",
"type": "",
"unit": "",
"field": "",
"value": "k8s_pod_phase",
"metric": "k8s_pod_phase",
"metricType": "Gauge",
"temporality": "Cumulative"
},
"datasourceId": "kloudmate",
"responseType": "series"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "hvmranotoq6",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{cpu}",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:LAST()",
"rename": "Limit"
},
{
"key": "k8s_pod_name",
"rename": "pod name"
},
{
"key": "B:LAST()",
"format": {
"suffix": "m"
},
"rename": "Request"
}
]
},
"title": "Pod CPU Limit & Request",
"panelType": "table",
"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_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_pod_name"
}
],
"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",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
},
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_pod_name"
}
],
"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",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
},
{
"id": "2va2jm9xfif",
"tz": "local",
"axis": {
"x": {
"date_style": "auto"
},
"y": {
"format": "number",
"suffix": "{cpu}",
"decimals": 3
}
},
"table": {
"columns": [
{
"key": "A:LAST()",
"format": {
"format": "bytes_iec",
"decimals": 3
},
"rename": "Limit"
},
{
"key": "k8s_pod_name",
"rename": "pod name"
},
{
"key": "B:LAST()",
"format": {
"format": "bytes_iec",
"decimals": 3
},
"rename": "Request"
}
]
},
"title": "Pod Memory Limit & Request",
"panelType": "table",
"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_namespace_name",
"value": "$namespace",
"operator": "="
},
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_pod_name"
}
],
"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",
"responseType": "number"
},
{
"page": 1,
"stat": "",
"type": "query",
"hidden": false,
"metric": "",
"nodeId": "B",
"region": "",
"source": "kloudmate",
"dataset": "metrics",
"filters": [
{
"type": "string",
"field": "k8s_cluster_name",
"value": "$cluster",
"operator": "="
},
{
"type": "string",
"field": "k8s_namespace_name",
"value": "$namespace",
"operator": "="
}
],
"groupBy": [
{
"type": "string",
"field": "k8s_pod_name"
}
],
"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",
"responseType": "number"
}
],
"time_options": {
"override": false,
"time_shift": ""
}
}
],
"timeRange": "1h",
"variables": [
{
"name": "namespace",
"type": "query",
"label": "Namespace",
"config": {
"otel": {
"key": {
"type": "string",
"field": "k8s_namespace_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": 8,
"i": "rgwuox0l1c",
"w": 10,
"x": 4,
"y": 0,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "202aluq7qem",
"w": 10,
"x": 14,
"y": 0,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "euvlglt7jnw",
"w": 12,
"x": 12,
"y": 44,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "80o3tevrmhn",
"w": 12,
"x": 0,
"y": 44,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "2gqmyayotml",
"w": 12,
"x": 0,
"y": 27,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "0cjxj3gghu05",
"w": 12,
"x": 12,
"y": 27,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 9,
"i": "le4ucy8wvh",
"w": 12,
"x": 12,
"y": 35,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 9,
"i": "2tw3u70o9ng",
"w": 12,
"x": 0,
"y": 35,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 10,
"i": "0vvhh1j8mcd",
"w": 12,
"x": 0,
"y": 17,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 10,
"i": "allj973aib",
"w": 12,
"x": 12,
"y": 17,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 9,
"i": "4t9cvxut4ml",
"w": 12,
"x": 12,
"y": 8,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 9,
"i": "hucsexz1f1d",
"w": 12,
"x": 0,
"y": 8,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 8,
"i": "7vi2fjw80s2",
"w": 4,
"x": 0,
"y": 0,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 9,
"i": "hvmranotoq6",
"w": 12,
"x": 0,
"y": 52,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
},
{
"h": 9,
"i": "2va2jm9xfif",
"w": 12,
"x": 12,
"y": 52,
"minH": 1,
"minW": 1,
"moved": false,
"static": false
}
],
"default_region": "us-east-1"
},
"tags": []
}