diff --git a/canned/netstat.json b/canned/netstat.json index 80a95e594..f3367255e 100644 --- a/canned/netstat.json +++ b/canned/netstat.json @@ -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": [] + } + ] + } + ] +} diff --git a/canned/processes.json b/canned/processes.json index 4e8c03378..7ffa7e344 100644 --- a/canned/processes.json +++ b/canned/processes.json @@ -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": [] + } + ] + } + ] +}