2016-11-08 00:23:09 +00:00
|
|
|
{
|
|
|
|
"id": "05dde59a-a52f-4ede-81fa-0c6011f29287",
|
|
|
|
"measurement": "kubernetes_system_container",
|
2016-11-08 19:21:54 +00:00
|
|
|
"app": "kubernetes",
|
2016-11-08 00:23:09 +00:00
|
|
|
"cells": [
|
|
|
|
{
|
|
|
|
"x": 0,
|
|
|
|
"y": 0,
|
2016-11-08 19:21:54 +00:00
|
|
|
"w": 4,
|
|
|
|
"h": 4,
|
2016-11-08 00:23:09 +00:00
|
|
|
"i": "64cf0f60-e157-4c03-9d7e-c280a7e2695f",
|
2016-11-10 23:28:06 +00:00
|
|
|
"name": "K8s Kubelet millicores",
|
2016-11-08 00:23:09 +00:00
|
|
|
"queries": [
|
|
|
|
{
|
2016-11-08 20:24:39 +00:00
|
|
|
"query": "select \"cpu_usage_nanocores\" / 1000000 as cpu_usage_millicores from kubernetes_system_container",
|
2016-11-08 00:23:09 +00:00
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
2016-11-08 02:35:46 +00:00
|
|
|
"groupbys": [],
|
|
|
|
"wheres": [
|
|
|
|
"\"container_name\" = 'kubelet'"
|
|
|
|
]
|
2016-11-08 00:23:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2016-11-10 23:28:06 +00:00
|
|
|
"x": 4,
|
2016-11-08 00:23:09 +00:00
|
|
|
"y": 0,
|
2016-11-08 19:21:54 +00:00
|
|
|
"w": 4,
|
|
|
|
"h": 4,
|
2016-11-08 00:23:09 +00:00
|
|
|
"i": "4a7454d1-4d60-4077-9e7b-8c915a00fe66",
|
2016-11-10 23:28:06 +00:00
|
|
|
"name": "K8s Kubelet memory bytes",
|
2016-11-08 00:23:09 +00:00
|
|
|
"queries": [
|
|
|
|
{
|
2016-11-08 02:35:46 +00:00
|
|
|
"query": "select \"memory_usage_bytes\" from kubernetes_system_container",
|
2016-11-08 00:23:09 +00:00
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
2016-11-08 02:35:46 +00:00
|
|
|
"groupbys": [],
|
|
|
|
"wheres": [
|
|
|
|
"\"container_name\" = 'kubelet'"
|
|
|
|
]
|
2016-11-08 00:23:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|