From 6ebadbcca3f271429254f84077b6178ebd4cea97 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 4 Jan 2019 20:03:11 -0800 Subject: [PATCH] Plot testnet-manager events --- metrics/testnet-monitor.json | 40 +++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/metrics/testnet-monitor.json b/metrics/testnet-monitor.json index 90e1284d4e..94af95be39 100644 --- a/metrics/testnet-monitor.json +++ b/metrics/testnet-monitor.json @@ -2154,6 +2154,44 @@ ] ], "tags": [] + }, + { + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(*) FROM \"$testnet\".\"autogen\".\"testnet-manager\" WHERE $timeFilter GROUP BY time($__interval) FILL(0)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "thresholds": [], @@ -5786,4 +5824,4 @@ "title": "Testnet Monitor (edge)", "uid": "testnet-edge", "version": 113 -} \ No newline at end of file +}