2016-11-08 00:23:09 +00:00
|
|
|
{
|
|
|
|
"id": "50a14fed-6d0c-4c8a-a142-ad9276bee245",
|
|
|
|
"measurement": "kubernetes_pod_container",
|
2016-11-08 18:21:50 +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": "e2427235-c81b-42a1-afdf-80d340fc01f8",
|
2016-11-10 23:28:06 +00:00
|
|
|
"name": "K8s pod 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_pod_container",
|
2016-11-08 00:23:09 +00:00
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
|
|
|
"groupbys": [
|
2016-11-08 21:24:34 +00:00
|
|
|
"\"pod_name\""
|
2016-11-08 02:35:46 +00:00
|
|
|
],
|
|
|
|
"wheres": []
|
2016-11-08 00:23:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": "6edb8c61-f723-47ce-a7eb-904fc6fe066e",
|
2016-11-10 23:28:06 +00:00
|
|
|
"name": "K8s pod memory bytes",
|
2016-11-08 00:23:09 +00:00
|
|
|
"queries": [
|
|
|
|
{
|
|
|
|
"query": "select \"memory_usage_bytes\" from kubernetes_pod_container",
|
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
|
|
|
"groupbys": [
|
2016-11-08 21:24:34 +00:00
|
|
|
"\"pod_name\""
|
2016-11-08 02:35:46 +00:00
|
|
|
],
|
|
|
|
"wheres": []
|
2016-11-08 00:23:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|