chronograf/protoboards/kubernetes_overview.json

1083 lines
34 KiB
JSON

{
"id": "2c2f31fb-421a-41c5-bb8e-a356ae44a300",
"meta": {
"name": "Kubernetes Overview",
"measurements": [
"kubernetes_node",
"kubernetes_pod_container",
"kubernetes_pod_network",
"kubernetes_system_container"
],
"version": "1.0",
"dashboardVersion": "1.x",
"description": "Dashboard for the telegraf input plug-in: Kubernetes. Provides an overview",
"author": "InfluxData",
"license": "MIT",
"icon": "",
"url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes"
},
"data": {
"cells": [
{
"x": 0,
"y": 0,
"w": 12,
"h": 1,
"name": "",
"queries": [
{
"query": "",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "note",
"colors": [],
"legend": {},
"tableOptions": {
"verticalTimeAxis": true,
"sortBy": {
"internalName": "time",
"displayName": "",
"visible": true
},
"wrapping": "truncate",
"fixFirstColumn": true
},
"fieldOptions": [
{"internalName": "time", "displayName": "", "visible": true}
],
"timeFormat": "MM/DD/YYYY HH:mm:ss",
"decimalPlaces": {"isEnforced": true, "digits": 2},
"note": "This dashboard gives you an overview of your Kubernetes Cluster and includes metrics from `kubernetes_*` set of measurements populated by the [Telegraf Kubernetes Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "default"
},
{
"x": 8,
"y": 1,
"w": 4,
"h": 2,
"name": "Total Container Count",
"queries": [
{
"query": "SELECT count(distinct(container_name)) from (SELECT mean(\"cpu_usage_core_nanoseconds\") AS \"mean_cpu_usage_core_nanoseconds\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > now() - 1m GROUP BY time(1m), \"container_name\" limit 1) FILL(previous)",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT count(distinct(container_name)) from (SELECT mean(\"cpu_usage_core_nanoseconds\") AS \"mean_cpu_usage_core_nanoseconds\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > now() - 1m GROUP BY time(1m), \"container_name\" limit 1) FILL(previous)",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "single-stat",
"colors": [
{
"id": "base",
"type": "text",
"hex": "#00C9FF",
"name": "laser",
"value": "-1000000000000000000"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": true,
"sortBy": {
"internalName": "time",
"displayName": "",
"visible": true
},
"wrapping": "truncate",
"fixFirstColumn": true
},
"fieldOptions": [
{"internalName": "time", "displayName": "", "visible": true}
],
"timeFormat": "MM/DD/YYYY HH:mm:ss",
"decimalPlaces": {"isEnforced": true, "digits": 2},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 4,
"y": 1,
"w": 4,
"h": 2,
"name": "Total Pod Count",
"queries": [
{
"query": "SELECT count(distinct(pod_name)) FROM (SELECT mean(\"cpu_usage_core_nanoseconds\") AS \"mean_cpu_usage_core_nanoseconds\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > now() - 1m GROUP BY time(1m), \"pod_name\" LIMIT 1) FILL(previous)",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT count(distinct(pod_name)) FROM (SELECT mean(\"cpu_usage_core_nanoseconds\") AS \"mean_cpu_usage_core_nanoseconds\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > now() - 1m GROUP BY time(1m), \"pod_name\" LIMIT 1) FILL(previous)",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "single-stat",
"colors": [
{
"id": "base",
"type": "text",
"hex": "#00C9FF",
"name": "laser",
"value": "-1000000000000000000"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": true,
"sortBy": {
"internalName": "time",
"displayName": "",
"visible": true
},
"wrapping": "truncate",
"fixFirstColumn": true
},
"fieldOptions": [
{"internalName": "time", "displayName": "", "visible": true}
],
"timeFormat": "MM/DD/YYYY HH:mm:ss",
"decimalPlaces": {"isEnforced": true, "digits": 2},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 0,
"y": 1,
"w": 4,
"h": 2,
"name": "Total Node Count",
"queries": [
{
"query": "SELECT count(distinct(node_name)) FROM (SELECT mean(\"cpu_usage_core_nanoseconds\") AS \"mean_cpu_usage_core_nanoseconds\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"node_name\" LIMIT 1) FILL(previous)",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT count(distinct(node_name)) FROM (SELECT mean(\"cpu_usage_core_nanoseconds\") AS \"mean_cpu_usage_core_nanoseconds\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"node_name\" LIMIT 1) FILL(previous)",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "single-stat",
"colors": [
{
"id": "base",
"type": "text",
"hex": "#00C9FF",
"name": "laser",
"value": "-1000000000000000000"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": true,
"sortBy": {
"internalName": "time",
"displayName": "",
"visible": true
},
"wrapping": "truncate",
"fixFirstColumn": true
},
"fieldOptions": [
{"internalName": "time", "displayName": "", "visible": true}
],
"timeFormat": "MM/DD/YYYY HH:mm:ss",
"decimalPlaces": {"isEnforced": true, "digits": 2},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 0,
"y": 3,
"w": 4,
"h": 4,
"name": "K8s - Node Millicores",
"queries": [
{
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM \":db:\".\":rp:\".\"kubernetes_node\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"node_name\"",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM \":db:\".\":rp:\".\"kubernetes_node\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"node_name\"",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 4,
"y": 3,
"w": 4,
"h": 4,
"name": "K8s - Node Memory Bytes",
"queries": [
{
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM \":db:\".\":rp:\".\"kubernetes_node\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"node_name\"",
"queryConfig": {
"database": "telegraf",
"measurement": "kubernetes_node",
"retentionPolicy": "autogen",
"fields": [
{
"value": "mean",
"type": "func",
"alias": "memory_usage_bytes",
"args": [
{
"value": "memory_usage_bytes",
"type": "field",
"alias": ""
}
]
}
],
"tags": {},
"groupBy": {"time": "auto", "tags": ["node_name"]},
"areTagsAccepted": false,
"fill": "null",
"rawText": null,
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "Memory",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 8,
"y": 3,
"w": 4,
"h": 4,
"name": "K8s - Pod Millicores",
"queries": [
{
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\"",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\"",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 0,
"y": 7,
"w": 4,
"h": 4,
"name": "K8s - Pod Memory Bytes",
"queries": [
{
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM \":db:\".\":rp:\".\"kubernetes_pod_container\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\"",
"queryConfig": {
"database": "telegraf",
"measurement": "kubernetes_pod_container",
"retentionPolicy": "autogen",
"fields": [
{
"value": "mean",
"type": "func",
"alias": "memory_usage_bytes",
"args": [
{
"value": "memory_usage_bytes",
"type": "field",
"alias": ""
}
]
}
],
"tags": {},
"groupBy": {"time": "auto", "tags": ["pod_name"]},
"areTagsAccepted": false,
"fill": "null",
"rawText": null,
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "Memory",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 4,
"y": 7,
"w": 4,
"h": 4,
"name": "K8s - Pod TX Bytes/Second",
"queries": [
{
"query": "SELECT non_negative_derivative(max(\"tx_bytes\")) AS \"tx_bytes_per_second\" FROM \":db:\".\":rp:\".\"kubernetes_pod_network\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\",\"node_name\"",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT non_negative_derivative(max(\"tx_bytes\")) AS \"tx_bytes_per_second\" FROM \":db:\".\":rp:\".\"kubernetes_pod_network\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\",\"node_name\"",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 8,
"y": 7,
"w": 4,
"h": 4,
"name": "K8s - Pod RX Bytes/Second ",
"queries": [
{
"query": "SELECT non_negative_derivative(max(\"rx_bytes\")) AS \"rx_bytes_per_second\" FROM \":db:\".\":rp:\".\"kubernetes_pod_network\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\",\"node_name\"",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT non_negative_derivative(max(\"rx_bytes\")) AS \"rx_bytes_per_second\" FROM \":db:\".\":rp:\".\"kubernetes_pod_network\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"pod_name\",\"node_name\"",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 0,
"y": 11,
"w": 4,
"h": 4,
"name": "K8s - Kubelet Millicores",
"queries": [
{
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM \":db:\".\":rp:\".\"kubernetes_system_container\" WHERE time > :dashboardTime: AND \"container_name\" = 'kubelet' GROUP BY time(:interval:), node_name",
"queryConfig": {
"database": "",
"measurement": "",
"retentionPolicy": "",
"fields": [],
"tags": {},
"groupBy": {"time": "", "tags": []},
"areTagsAccepted": false,
"rawText": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM \":db:\".\":rp:\".\"kubernetes_system_container\" WHERE time > :dashboardTime: AND \"container_name\" = 'kubelet' GROUP BY time(:interval:), node_name",
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
},
{
"x": 4,
"y": 11,
"w": 4,
"h": 4,
"name": "K8s - Kubelet Memory Bytes",
"queries": [
{
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM \":db:\".\":rp:\".\"kubernetes_system_container\" WHERE time > :dashboardTime: AND \"container_name\" = 'kubelet' GROUP BY time(:interval:), node_name",
"queryConfig": {
"database": "telegraf",
"measurement": "kubernetes_system_container",
"retentionPolicy": "autogen",
"fields": [
{
"value": "mean",
"type": "func",
"alias": "memory_usage_bytes",
"args": [
{
"value": "memory_usage_bytes",
"type": "field",
"alias": ""
}
]
}
],
"tags": {"container_name": ["kubelet"]},
"groupBy": {"time": "auto", "tags": ["node_name"]},
"areTagsAccepted": true,
"fill": "null",
"rawText": null,
"range": null,
"shifts": null
},
"source": "",
"type": "influxql"
}
],
"axes": {
"x": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y": {
"bounds": ["", ""],
"label": "Memory",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
},
"y2": {
"bounds": ["", ""],
"label": "",
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear"
}
},
"type": "line",
"colors": [
{
"id": "3a861a65-22d0-4fe2-9162-34c35e3189e6",
"type": "scale",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "738a4433-63ce-42ee-908d-a534264410c8",
"type": "scale",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"value": "0"
},
{
"id": "b6e4949f-e323-4a2c-816b-497fae378356",
"type": "scale",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"value": "0"
}
],
"legend": {},
"tableOptions": {
"verticalTimeAxis": false,
"sortBy": {"internalName": "", "displayName": "", "visible": false},
"wrapping": "",
"fixFirstColumn": false
},
"fieldOptions": [],
"timeFormat": "",
"decimalPlaces": {"isEnforced": false, "digits": 0},
"note": "To enable this graph, you will need to configure the [Telegraf Kubernetes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kubernetes).",
"noteVisibility": "showWhenNoData"
}
],
"templates": []
}
}