Add consul statsd election and leadership layout
parent
dd6edbf901
commit
a489fa1ce7
|
@ -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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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": []
|
||||
|
|
Loading…
Reference in New Issue