Merge pull request #924 from influxdata/751-stack_graph

Update canned Docker layouts via PUT request
pull/10616/head
Jared Scheib 2017-02-23 17:30:29 -08:00 committed by GitHub
commit cd2b7c9d3d
1 changed files with 21 additions and 27 deletions

View File

@ -1,7 +1,7 @@
{
"id": "0e980b97-c162-487b-a815-3f955df6243f",
"measurement": "docker",
"app": "docker",
"measurement": "docker",
"autoflow": true,
"cells": [
{
@ -11,16 +11,15 @@
"h": 4,
"i": "4c79cefb-5152-410c-9b88-74f9bff7ef22",
"name": "Docker - Container CPU",
"type": "line-stacked",
"queries": [
{
"query": "SELECT mean(\"usage_percent\") AS \"usage_percent\" FROM \"docker_container_cpu\"",
"groupbys": [
"\"container_name\""
],
"wheres": []
]
}
]
],
"type": "line-stacked"
},
{
"x": 0,
@ -29,16 +28,15 @@
"h": 4,
"i": "4c79cefb-5152-410c-9b88-74f9bff7ef00",
"name": "Docker - Container Memory",
"type": "line-stepplot",
"queries": [
{
"query": "SELECT mean(\"usage\") AS \"usage\" FROM \"docker_container_mem\"",
"groupbys": [
"\"container_name\""
],
"wheres": []
]
}
]
],
"type": "line-stepplot"
},
{
"x": 0,
@ -47,16 +45,15 @@
"h": 4,
"i": "4c79cefb-5152-410c-9b88-74f9bff7ef01",
"name": "Docker - Containers",
"type": "single-stat",
"queries": [
{
"query": "SELECT max(\"n_containers\") AS \"max_n_containers\" FROM \"docker\"",
"groupbys": [
"\"host\""
],
"wheres": []
]
}
]
],
"type": "single-stat"
},
{
"x": 0,
@ -65,18 +62,17 @@
"h": 4,
"i": "4c79cefb-5152-410c-9b88-74f9bff7ef02",
"name": "Docker - Images",
"type": "single-stat",
"queries": [
{
"query": "SELECT max(\"n_images\") AS \"max_n_images\" FROM \"docker\"",
"groupbys": [
"\"host\""
],
"wheres": []
]
}
]
},
{
],
"type": "single-stat"
},
{
"x": 0,
"y": 0,
"w": 4,
@ -88,24 +84,22 @@
"query": "SELECT max(\"n_containers_running\") AS \"max_n_containers_running\" FROM \"docker\"",
"groupbys": [
"\"host\""
],
"wheres": []
]
},
{
"query": "SELECT max(\"n_containers_stopped\") AS \"max_n_containers_stopped\" FROM \"docker\"",
"groupbys": [
"\"host\""
],
"wheres": []
]
},
{
"query": "SELECT max(\"n_containers_paused\") AS \"max_n_containers_paused\" FROM \"docker\"",
"groupbys": [
"\"host\""
],
"wheres": []
]
}
]
}
],
"type": ""
}
]
}