Merge pull request #945 from influxdata/feature/consul-telemetry

Add consul statsd cluster health dashboard
pull/10616/head
Chris Goller 2017-03-01 12:19:39 -06:00 committed by GitHub
commit 62e0fbd918
5 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
"id": "350b780c-7d32-4b29-ac49-0d4e2c092943",
"measurement": "consul_memberlist_msg_alive",
"app": "consul_telemetry",
"autoflow": true,
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "bd62186a-f475-478b-bf02-8c4ab07eccd1",
"name": "Consul Number of Agents",
"queries": [
{
"query": "SELECT min(\"value\") AS \"num_agents\" FROM \"consul_memberlist_msg_alive\"",
"label": "count",
"groupbys": [],
"wheres": []
}
]
}
]
}

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": []
}
]
}
]
}

24
canned/consul_http.json Normal file
View File

@ -0,0 +1,24 @@
{
"id": "26809869-8df3-49ad-b2f0-b1e1c72f67b0",
"measurement": "consul_consul_http_GET_v1_health_state__",
"app": "consul_telemetry",
"autoflow": true,
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "dfb4c50f-547e-484a-944b-d6374ba2b4c0",
"name": "Consul HTTP Request Time (ms)",
"queries": [
{
"query": "SELECT max(\"upper\") AS \"GET_health_state\" FROM \"consul_consul_http_GET_v1_health_state__\"",
"label": "ms",
"groupbys": [],
"wheres": []
}
]
}
]
}

View File

@ -0,0 +1,24 @@
{
"id": "34611ae0-7c3e-4697-8db0-371b16bef345",
"measurement": "consul_raft_state_leader",
"app": "consul_telemetry",
"autoflow": true,
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "ef8eeeb5-b408-46d6-8cfc-20c00c9d7239",
"name": "Consul Leadership Change",
"queries": [
{
"query": "SELECT max(\"value\") as \"change\" FROM \"consul_raft_state_leader\"",
"label": "count",
"groupbys": [],
"wheres": []
}
]
}
]
}

View File

@ -0,0 +1,24 @@
{
"id": "ef4b596c-77de-41c5-bb5b-d5c9a69fa633",
"measurement": "consul_serf_events",
"app": "consul_telemetry",
"autoflow": true,
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "59df3d73-5fac-48cb-84f1-dbe9a1bb886c",
"name": "Consul Number of serf events",
"queries": [
{
"query": "SELECT max(\"value\") AS \"serf_events\" FROM \"consul_serf_events\"",
"label": "count",
"groupbys": [],
"wheres": []
}
]
}
]
}