{ "dashboard": { "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 15, "links": [], "liveNow": true, "panels": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "description": "", "fieldConfig": { "defaults": { "mappings": [ { "options": { "critical": { "color": "red", "index": 1, "text": "DOWN" }, "maintenance": { "color": "blue", "index": 2, "text": "MAINT" }, "passing": { "color": "green", "index": 0, "text": "UP" }, "warning": { "color": "orange", "index": 3, "text": "WARN" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 24, "x": 0, "y": 0 }, "id": 5, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^status$/", "values": true }, "showPercentChange": false, "text": {}, "textMode": "value_and_name", "wideLayout": true }, "pluginVersion": "11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, "expr": "min by(node, status) (consul_health_node_status==1)", "format": "table", "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "Consul Hosts", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": true, "node": false, "service_name": false, "status": false }, "indexByName": { "Time": 0, "Value": 1, "node": 3, "service_name": 2, "status": 4 }, "renameByName": { "node": "", "service_name": "" } } } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "mappings": [ { "options": { "critical": { "color": "red", "index": 1, "text": "DOWN" }, "maintenance": { "color": "blue", "index": 2, "text": "MAINT" }, "passing": { "color": "green", "index": 0, "text": "UP" }, "warning": { "color": "orange", "index": 3, "text": "WARN" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 14, "w": 15, "x": 0, "y": 4 }, "id": 1, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^status$/", "limit": 200, "values": true }, "showPercentChange": false, "text": { "titleSize": 12 }, "textMode": "value_and_name", "wideLayout": true }, "pluginVersion": "11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, "expr": "min by(service_name, node, status) (consul_health_service_status==1)", "format": "table", "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "Consul Services", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": true, "node": false, "service_name": false, "status": false }, "indexByName": { "Time": 0, "Value": 1, "node": 3, "service_name": 2, "status": 4 }, "renameByName": { "node": "", "service_name": "" } } } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Value" }, "properties": [ { "id": "mappings", "value": [ { "options": { "0": { "color": "red", "index": 0, "text": "DOWN" } }, "type": "value" }, { "options": { "from": 0, "result": { "color": "green", "index": 1, "text": "UP" }, "to": 999999 }, "type": "range" } ] } ] } ] }, "gridPos": { "h": 14, "w": 9, "x": 15, "y": 4 }, "id": 4, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "allValues" ], "fields": "/^Value$/", "values": true }, "showPercentChange": false, "text": { "titleSize": 12 }, "textMode": "value_and_name", "wideLayout": true }, "pluginVersion": "11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, "expr": "sum by(module, target) (min_over_time (probe_success{job=~\"integrations/blackbox/default/.*\"}[10m]))", "format": "table", "instant": true, "interval": "15m", "legendFormat": "__auto", "range": false, "refId": "A" } ], "title": "Blackbox Services", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "orange", "value": 2 }, { "color": "green", "value": 3 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 10, "x": 0, "y": 18 }, "id": 2, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "builder", "expr": "consul_raft_peers", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], "title": "Consul Raft Peers", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "gridPos": { "h": 9, "w": 14, "x": 10, "y": 18 }, "id": 3, "options": { "alertInstanceLabelFilter": "", "alertName": "", "dashboardAlerts": false, "datasource": "-- Grafana --", "folder": { "title": "General Alerting", "uid": "3wcaCqC7k" }, "groupBy": [], "groupMode": "default", "maxItems": 20, "sortOrder": 1, "stateFilter": { "error": true, "firing": true, "noData": false, "normal": false, "pending": true }, "viewMode": "list" }, "title": "Alerts", "type": "alertlist" } ], "refresh": "30s", "schemaVersion": 39, "tags": [], "templating": { "list": [] }, "time": { "from": "now-15m", "to": "now" }, "timeRangeUpdatedDuringEditOrView": false, "timepicker": {}, "timezone": "", "title": "Service Health", "uid": "c627e433-7959-4653-8f1a-1e54c7e9d474", "version": 14, "weekStart": "" }, "folderId": 0, "overwrite": true }