chronograf/canned/kubernetes_pod_container.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": "K8s - Pod Millicores",
"queries": [
{
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM kubernetes_pod_container",
"db": "telegraf",
"rp": "",
"groupbys": [
"\"pod_name\""
],
"wheres": []
}
]
},
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "6edb8c61-f723-47ce-a7eb-904fc6fe066e",
"name": "K8s - Pod Memory Bytes",
"queries": [
{
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM kubernetes_pod_container",
"db": "telegraf",
"rp": "",
"groupbys": [
"\"pod_name\""
],
"wheres": []
}
]
}
]
}