1541 lines
46 KiB
JSON
1541 lines
46 KiB
JSON
{
|
|
"id": "4f1fdc9b-1e60-4a75-97ef-33b9c97819b4",
|
|
"meta": {
|
|
"name": "Docker",
|
|
"measurements": [
|
|
"docker",
|
|
"docker_container_blkio",
|
|
"docker_container_net"
|
|
],
|
|
"version": "1.1",
|
|
"dashboardVersion": "1.x",
|
|
"description": "Dashboard for the telegraf input plug-in: Docker",
|
|
"author": "InfluxData",
|
|
"license": "MIT",
|
|
"icon": "",
|
|
"url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker"
|
|
},
|
|
"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 metrics from the Docker Engine API on each host and includes metrics from `docker` set of measurements populated by the [Telegraf Docker Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "default"
|
|
},
|
|
{
|
|
"x": 8,
|
|
"y": 4,
|
|
"w": 4,
|
|
"h": 3,
|
|
"name": "Block I/O per Container",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"io_service_bytes_recursive_write\") AS \"write\", mean(\"io_service_bytes_recursive_read\") AS \"read\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), \"container_name\" FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"io_service_bytes_recursive_write\") AS \"write\", mean(\"io_service_bytes_recursive_read\") AS \"read\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), \"container_name\" FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Container I/O",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "ef042c27-dd7f-47b1-adfe-5f47aaf3511c",
|
|
"type": "scale",
|
|
"hex": "#FD7A5D",
|
|
"name": "Delorean",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "f62195a7-8be0-4ad7-aa97-aa040e6c1d8d",
|
|
"type": "scale",
|
|
"hex": "#5F1CF2",
|
|
"name": "Delorean",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a4c3cbc4-601f-47cf-a6ae-76ca0a259125",
|
|
"type": "scale",
|
|
"hex": "#4CE09A",
|
|
"name": "Delorean",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 9,
|
|
"y": 1,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "System Load",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"load1\") AS \"load1\", mean(\"load5\") AS \"load5\", mean(\"load15\") AS \"load15\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"load1\") AS \"load1\", mean(\"load5\") AS \"load5\", mean(\"load15\") AS \"load15\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Load",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a98e3ce0-d794-4a05-9eef-9925caaf2883",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {
|
|
"type": "static",
|
|
"orientation": "bottom"
|
|
},
|
|
"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 System Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 6,
|
|
"y": 1,
|
|
"w": 3,
|
|
"h": 3,
|
|
"name": "System Memory Usage",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"used_percent\") AS \"last_used_percent\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"used_percent\") AS \"last_used_percent\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Memory used %",
|
|
"prefix": "",
|
|
"suffix": " %",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line-plus-single-stat",
|
|
"colors": [
|
|
{
|
|
"id": "base",
|
|
"type": "scale",
|
|
"hex": "#8F8AF4",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "8314ff20-1158-4910-85fa-c880ca805611",
|
|
"type": "scale",
|
|
"hex": "#A51414",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "84b07d37-6abe-461d-9e1e-fefbaa696368",
|
|
"type": "scale",
|
|
"hex": "#F4CF31",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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": 0
|
|
},
|
|
"note": "To enable this graph, you will need to configure the [Telegraf Mem Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 3,
|
|
"y": 2,
|
|
"w": 3,
|
|
"h": 2,
|
|
"name": "System CPU Usage",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_iowait\") AS \"iowait\" , mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_iowait\") AS \"iowait\" , mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:) FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "CPU usage",
|
|
"prefix": "",
|
|
"suffix": " %",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "2818d86b-c91e-4d59-b7f4-e5c7212b627e",
|
|
"type": "scale",
|
|
"hex": "#74D495",
|
|
"name": "Atlantis",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "4dfe99ee-4844-417b-ae70-c9af0b3ad826",
|
|
"type": "scale",
|
|
"hex": "#3F3FBA",
|
|
"name": "Atlantis",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "31ea9d9b-c950-4ba5-b3e5-53738b2524c5",
|
|
"type": "scale",
|
|
"hex": "#FF4D9E",
|
|
"name": "Atlantis",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 CPU Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cpu).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 4,
|
|
"w": 4,
|
|
"h": 3,
|
|
"name": "Disk I/O",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT non_negative_derivative(max(\"read_bytes\"),1s) AS \"read bytes\", non_negative_derivative(max(\"write_bytes\"),1s) AS \"write bytes\" FROM \":db:\".\":rp:\".\"diskio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT non_negative_derivative(max(\"read_bytes\"),1s) AS \"read bytes\", non_negative_derivative(max(\"write_bytes\"),1s) AS \"write bytes\" FROM \":db:\".\":rp:\".\"diskio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "bytes/sec",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "9dae3270-b473-4882-a959-af66d1ff78be",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "4a03b82d-707d-4553-8db5-8876928a91d1",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9cf3c380-ae13-4612-b044-d646b57cdfac",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {
|
|
"type": "static",
|
|
"orientation": "bottom"
|
|
},
|
|
"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 DiskIO Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 6,
|
|
"y": 7,
|
|
"w": 6,
|
|
"h": 3,
|
|
"name": "Memory usage % per container",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"usage_percent\") AS \"mean_usage_percent\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host = :host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"usage_percent\") AS \"mean_usage_percent\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host = :host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", "100"],
|
|
"label": "Memory usage %",
|
|
"prefix": "",
|
|
"suffix": " %",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a7a38809-10a1-4e4d-a99a-fc05d676d375",
|
|
"type": "scale",
|
|
"hex": "#FDC44F",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce",
|
|
"type": "scale",
|
|
"hex": "#007C76",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "10688960-fcdc-4413-aa60-4f494e2cfea3",
|
|
"type": "scale",
|
|
"hex": "#8983FF",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 4,
|
|
"y": 1,
|
|
"w": 2,
|
|
"h": 1,
|
|
"name": "# Containers",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"n_containers\") AS \"mean_n_containers\" FROM \":db:\".\":rp:\".\"docker\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"n_containers\") AS \"mean_n_containers\" FROM \":db:\".\":rp:\".\"docker\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", ""],
|
|
"label": "Containters",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 2,
|
|
"y": 1,
|
|
"w": 2,
|
|
"h": 1,
|
|
"name": "Total Memory",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"memory_total\")/1024/1024 AS \"mean_memory_total\" FROM \":db:\".\":rp:\".\"docker\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"memory_total\")/1024/1024 AS \"mean_memory_total\" FROM \":db:\".\":rp:\".\"docker\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", ""],
|
|
"label": "Containters",
|
|
"prefix": "",
|
|
"suffix": " MB",
|
|
"base": "2",
|
|
"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": 0
|
|
},
|
|
"note": "To enable this graph, you will need to configure the [Telegraf Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 1,
|
|
"w": 2,
|
|
"h": 1,
|
|
"name": "nCPU",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT last(\"n_cpus\") AS \"n_cpus\" FROM \":db:\".\":rp:\".\"docker\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT last(\"n_cpus\") AS \"n_cpus\" FROM \":db:\".\":rp:\".\"docker\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", ""],
|
|
"label": "Containters",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 2,
|
|
"w": 3,
|
|
"h": 2,
|
|
"name": "# Running containers",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"n_containers_running\") AS \"running\" FROM \":db:\".\":rp:\".\"docker\" WHERE host = :host: and time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"n_containers_running\") AS \"running\" FROM \":db:\".\":rp:\".\"docker\" WHERE host = :host: and time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", ""],
|
|
"label": "Containters",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line-plus-single-stat",
|
|
"colors": [
|
|
{
|
|
"id": "base",
|
|
"type": "scale",
|
|
"hex": "#FDC44F",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce",
|
|
"type": "scale",
|
|
"hex": "#007C76",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "10688960-fcdc-4413-aa60-4f494e2cfea3",
|
|
"type": "scale",
|
|
"hex": "#8983FF",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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": false,
|
|
"digits": 2
|
|
},
|
|
"note": "To enable this graph, you will need to configure the [Telegraf Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 6,
|
|
"y": 10,
|
|
"w": 6,
|
|
"h": 3,
|
|
"name": "Net I/O per Container",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"rx_bytes\") AS \"rx_bytes\", mean(\"tx_bytes\") AS \"tx_bytes\" FROM \":db:\".\":rp:\".\"docker_container_net\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"rx_bytes\") AS \"rx_bytes\", mean(\"tx_bytes\") AS \"tx_bytes\" FROM \":db:\".\":rp:\".\"docker_container_net\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "9dae3270-b473-4882-a959-af66d1ff78be",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "4a03b82d-707d-4553-8db5-8876928a91d1",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9cf3c380-ae13-4612-b044-d646b57cdfac",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 7,
|
|
"w": 6,
|
|
"h": 3,
|
|
"name": "CPU Usage per Container",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"usage_percent\") AS \"Usage per Container\" FROM \":db:\".\":rp:\".\"docker_container_cpu\" WHERE host = :host: AND time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:), \"container_name\" FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"usage_percent\") AS \"Usage per Container\" FROM \":db:\".\":rp:\".\"docker_container_cpu\" WHERE host = :host: AND time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:), \"container_name\" FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", ""],
|
|
"label": "CPU usage",
|
|
"prefix": "",
|
|
"suffix": "%",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "de6f0420-0272-47eb-834a-6527022b013f",
|
|
"type": "scale",
|
|
"hex": "#8F8AF4",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "4fd8d7f8-d807-49a2-9599-ae41bd23807b",
|
|
"type": "scale",
|
|
"hex": "#A51414",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "b0215272-2de1-48d0-889e-2c22fc3298a6",
|
|
"type": "scale",
|
|
"hex": "#F4CF31",
|
|
"name": "Do Androids Dream of Electric Sheep?",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 10,
|
|
"w": 6,
|
|
"h": 3,
|
|
"name": "Memory Usage per Container",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"usage\") AS \"mean_usage\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"usage\") AS \"mean_usage\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", ""],
|
|
"label": "Memory",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "2",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a7a38809-10a1-4e4d-a99a-fc05d676d375",
|
|
"type": "scale",
|
|
"hex": "#FDC44F",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce",
|
|
"type": "scale",
|
|
"hex": "#007C76",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "10688960-fcdc-4413-aa60-4f494e2cfea3",
|
|
"type": "scale",
|
|
"hex": "#8983FF",
|
|
"name": "Cthulhu",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).",
|
|
"noteVisibility": "showWhenNoData"
|
|
},
|
|
{
|
|
"x": 4,
|
|
"y": 4,
|
|
"w": 4,
|
|
"h": 3,
|
|
"name": "Filesystem usage",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["0", "100"],
|
|
"label": "percentage",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "ef042c27-dd7f-47b1-adfe-5f47aaf3511c",
|
|
"type": "scale",
|
|
"hex": "#FD7A5D",
|
|
"name": "Delorean",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "f62195a7-8be0-4ad7-aa97-aa040e6c1d8d",
|
|
"type": "scale",
|
|
"hex": "#5F1CF2",
|
|
"name": "Delorean",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a4c3cbc4-601f-47cf-a6ae-76ca0a259125",
|
|
"type": "scale",
|
|
"hex": "#4CE09A",
|
|
"name": "Delorean",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"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 Disk Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/disk).",
|
|
"noteVisibility": "showWhenNoData"
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"tempVar": ":host:",
|
|
"values": [],
|
|
"id": "",
|
|
"type": "tagValues",
|
|
"label": "",
|
|
"query": {
|
|
"influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:",
|
|
"db": "telegraf",
|
|
"measurement": "docker",
|
|
"tagKey": "host",
|
|
"fieldKey": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|