46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
|
"id": "50a14fed-6d0c-4c8a-a142-ad9276bee245",
|
|
"measurement": "kubernetes_pod_container",
|
|
"app": "kubernetes",
|
|
"cells": [
|
|
{
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 4,
|
|
"h": 4,
|
|
"i": "e2427235-c81b-42a1-afdf-80d340fc01f8",
|
|
"name": "Pod cpu usage millicores",
|
|
"queries": [
|
|
{
|
|
"query": "select \"cpu_usage_nanocores\" / 1000000 as cpu_usage_millicores from kubernetes_pod_container",
|
|
"db": "telegraf",
|
|
"rp": "autogen",
|
|
"groupbys": [
|
|
"\"pod_name\""
|
|
],
|
|
"wheres": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 4,
|
|
"h": 4,
|
|
"i": "6edb8c61-f723-47ce-a7eb-904fc6fe066e",
|
|
"name": "Pod memory usage bytes",
|
|
"queries": [
|
|
{
|
|
"query": "select \"memory_usage_bytes\" from kubernetes_pod_container",
|
|
"db": "telegraf",
|
|
"rp": "autogen",
|
|
"groupbys": [
|
|
"\"pod_name\""
|
|
],
|
|
"wheres": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|