influxdb/canned/consul.json

49 lines
1.1 KiB
JSON
Raw Normal View History

2016-11-14 20:24:13 +00:00
{
"id": "f3bec493-0bc1-49d5-a40a-a09bd5cfb60c",
"measurement": "consul_health_checks",
"app": "consul",
"autoflow": true,
2016-11-14 20:24:13 +00:00
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "9e14639d-b8d9-4245-8c45-862ed4383d31",
"name": "Consul Number of Critical Health Checks",
"queries": [
{
"query": "SELECT count(\"check_id\") as \"Number Critical\" FROM consul_health_checks",
"label": "count",
2016-11-14 20:24:13 +00:00
"groupbys": [
"\"service_name\""
],
"wheres": [
"\"status\" = 'critical'"
]
}
]
},
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "595be39d-85db-4410-b349-35c25465a4b8",
"name": "Consul Number of Warning Health Checks",
"queries": [
{
"query": "SELECT count(\"check_id\") as \"Number Warning\" FROM consul_health_checks",
"label": "count",
2016-11-14 20:24:13 +00:00
"groupbys": [
"\"service_name\""
],
"wheres": [
"\"status\" = 'warning'"
]
}
]
}
]
}