"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).",
"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)",
"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)",
"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).",
"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)",
"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)",
"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).",
"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)",
"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)",
"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).",
"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)",
"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)",
"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)",
"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).",
"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)",
"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)",
"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)",
"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).",
"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)",
"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)",
"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).",