chronograf/canned/consul.json

49 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"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'"
]
}
]
}
]
}