49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
||
"id": "f3bec493-0bc1-49d5-a40a-a09bd5cfb60c",
|
||
"measurement": "consul_health_checks",
|
||
"app": "consul",
|
||
"autoflow": true,
|
||
"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",
|
||
"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",
|
||
"groupbys": [
|
||
"\"service_name\""
|
||
],
|
||
"wheres": [
|
||
"\"status\" = 'warning'"
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|