{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "gnetId": 13768, "graphTooltip": 0, "id": 8, "iteration": 1668206111766, "links": [ { "icon": "external link", "tags": [], "title": "blocky @ GitHub", "tooltip": "open GitHub repo", "type": "link", "url": "https://github.com/0xERR0R/blocky" } ], "panels": [ { "datasource": "Prometheus", "description": "current service state", "fieldConfig": { "defaults": { "custom": {}, "mappings": [ { "options": { "0": { "text": "down" }, "1": { "text": "up" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 1 }, { "color": "#299c46", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "id": 26, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "exemplar": false, "expr": "sum(up{job=\"exporters\", consul_service=\"blocky-api\"})", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "State", "transparent": true, "type": "stat" }, { "datasource": null, "description": "Is blocking enabled?", "fieldConfig": { "defaults": { "custom": {}, "mappings": [ { "options": { "0": { "text": "off" }, "1": { "text": "on" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 1 }, { "color": "#299c46", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 6, "x": 6, "y": 0 }, "id": 43, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "exemplar": false, "expr": "blocky_blocking_enabled", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Blocking", "transparent": true, "type": "stat" }, { "datasource": { "uid": "Prometheus" }, "description": "Enable Ad disable blocking", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "gridPos": { "h": 5, "w": 12, "x": 12, "y": 0 }, "id": 42, "options": { "content": "\n