Update layouts with jq formatting

pull/416/head
Chris Goller 2016-11-07 21:57:18 -06:00
parent 5ed9036b4c
commit 84405dd609
2 changed files with 81 additions and 67 deletions

View File

@ -1,49 +1,59 @@
{
"id": "ff41d044-f61a-4522-8de7-9e39e3a1b5de",
"measurement": "netstat",
"app": "Network metrics",
"cells": [{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "cf5d0608-b513-4244-a55f-accf520da3a1",
"name": "Open sockets",
"queries": [{
"query": "select tcp_established from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
},
{
"query": "select udp_socket from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}]
},
{
"id": "ff41d044-f61a-4522-8de7-9e39e3a1b5de",
"measurement": "netstat",
"app": "Network metrics",
"cells": [
{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "cf5d0608-b513-4244-a55f-accf520da3a1",
"name": "Sockets created/second ",
"queries": [{
"query": "select derivative(last(\"tcp_established\"), 10) from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": ["time"],
"wheres": []
},
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "cf5d0608-b513-4244-a55f-accf520da3a1",
"name": "Open sockets",
"queries": [
{
"query": "select derivative(last(\"udp_socket\"), 10) from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": ["time"],
"wheres": []
}]
}]
}
"query": "select tcp_established from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
},
{
"query": "select udp_socket from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}
]
},
{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "cf5d0608-b513-4244-a55f-accf520da3a1",
"name": "Sockets created/second ",
"queries": [
{
"query": "select derivative(last(\"tcp_established\"), 10) from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": [
"time"
],
"wheres": []
},
{
"query": "select derivative(last(\"udp_socket\"), 10) from netstat",
"db": "telegraf",
"rp": "autogen",
"groupbys": [
"time"
],
"wheres": []
}
]
}
]
}

View File

@ -1,20 +1,24 @@
{
"id": "ffad2dff-d263-412e-806a-1e836af87942",
"measurement": "processes",
"app": "Host processes",
"cells": [{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "84048146-f93d-4d6c-b7dd-c8e2a68abb27",
"name": "Total Processes",
"queries": [{
"query": "select total from processes",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}]
}]
}
{
"id": "ffad2dff-d263-412e-806a-1e836af87942",
"measurement": "processes",
"app": "Host processes",
"cells": [
{
"x": 0,
"y": 0,
"w": 10,
"h": 10,
"i": "84048146-f93d-4d6c-b7dd-c8e2a68abb27",
"name": "Total Processes",
"queries": [
{
"query": "select total from processes",
"db": "telegraf",
"rp": "autogen",
"groupbys": [],
"wheres": []
}
]
}
]
}