Add consul statsd election and leadership layout

pull/945/head
Chris Goller 2017-03-01 12:13:44 -06:00
parent dd6edbf901
commit a489fa1ce7
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
{
"id": "b15aaf24-701a-4d9b-920c-9a407e91da71",
"measurement": "consul_raft_state_candidate",
"app": "consul_telemetry",
"autoflow": true,
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "5b2bddce-badb-4594-91fb-0486f62266e5",
"name": "Consul Leadership Election",
"queries": [
{
"query": "SELECT max(\"value\") AS \"max_value\" FROM \"consul_raft_state_candidate\"",
"label": "count",
"groupbys": [],
"wheres": []
}
]
}
]
}

View File

@ -13,7 +13,7 @@
"name": "Consul Leadership Change",
"queries": [
{
"query": "SELECT \"value\" FROM \"consul_raft_state_leader\"",
"query": "SELECT max(\"value\") as \"change\" FROM \"consul_raft_state_leader\"",
"label": "count",
"groupbys": [],
"wheres": []