chronograf/protoboards/docker.json

1 line
5.9 KiB
JSON
Raw Normal View History

{"id":"2d2dfb19-0709-4a69-8265-70c7b456080c","meta":{"name":"docker","measurements":["docker","docker_container_blkio","docker_container_net"],"version":"1.0","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":[{"w":4,"h":4,"name":"Docker - Container CPU %","queries":[{"query":"SELECT mean(\"usage_percent\") AS \"usage_percent\" FROM \":db:\".\":rp:\".\"docker_container_cpu\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"","groupbys":["\"container_name\""],"label":"% CPU time"}],"type":"line-stacked","axes":{"x":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]},"y":{"prefix":"","suffix":"% CPU time","base":"10","scale":"linear","label":"","bounds":["",""]},"y2":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]}}},{"w":4,"h":4,"name":"Docker - Container Memory (MB)","queries":[{"query":"SELECT mean(\"usage\") / 1048576 AS \"usage\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"","groupbys":["\"container_name\""],"label":"MB"}],"type":"line-stepplot","axes":{"x":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]},"y":{"prefix":"","suffix":"MB","base":"10","scale":"linear","label":"","bounds":["",""]},"y2":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]}}},{"w":4,"h":4,"name":"Docker - Containers","queries":[{"query":"SELECT max(\"n_containers\") AS \"max_n_containers\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"","groupbys":["\"host\""],"label":"count"}],"type":"single-stat","axes":{"x":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]},"y":{"prefix":"","suffix":"count","base":"10","scale":"linear","label":"","bounds":["",""]},"y2":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]}}},{"w":4,"h":4,"name":"Docker - Images","queries":[{"query":"SELECT max(\"n_images\") AS \"max_n_images\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"","groupbys":["\"host\""]}],"type":"single-stat","axes":{"x":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]},"y":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]},"y2":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]}}},{"w":4,"h":4,"name":"Docker - Container State","queries":[{"query":"SELECT max(\"n_containers_running\") AS \"max_n_containers_running\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"","groupbys":["\"host\""],"label":"count"},{"query":"SELECT max(\"n_containers_stopped\") AS \"max_n_containers_stopped\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"","groupbys":["\"host\""]},{"query":"SELECT max(\"n_containers_paused\") AS \"max_n_containers_paused\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"","groupbys":["\"host\""]}],"type":"line","axes":{"x":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]},"y":{"prefix":"","suffix":"count","base":"10","scale":"linear","label":"","bounds":["",""]},"y2":{"prefix":"","suffix":"","base":"10","scale":"linear","label":"","bounds":["",""]}}},{"w":4,"h":4,"name":"Docker - Container Block IO","queries":[{"query":"SELECT max(\"io_serviced_recursive_read\") AS \"max_io_read\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"","groupbys":["\