{ "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": null, "links": [], "panels": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] } } }, "gridPos": { "h": 4, "w": 8, "x": 0, "y": 0 }, "id": 1, "options": { "colorMode": "value", "graphMode": "area", "reduceOptions": { "calcs": ["lastNotNull"] }, "textMode": "auto" }, "targets": [{ "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "sum(unbound_queries_total)", "refId": "A" }], "title": "Total Queries", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "percent" } }, "gridPos": { "h": 4, "w": 8, "x": 8, "y": 0 }, "id": 2, "options": { "colorMode": "value", "graphMode": "area", "reduceOptions": { "calcs": ["lastNotNull"] }, "textMode": "auto" }, "targets": [{ "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "100 * sum(unbound_cache_hits_total) / clamp_min(sum(unbound_cache_hits_total + unbound_cache_misses_total), 1)", "refId": "A" }], "title": "Cache Hit %", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "s" } }, "gridPos": { "h": 4, "w": 8, "x": 16, "y": 0 }, "id": 3, "options": { "colorMode": "value", "graphMode": "area", "reduceOptions": { "calcs": ["lastNotNull"] }, "textMode": "auto" }, "targets": [{ "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "unbound_response_time_seconds_avg", "refId": "A" }], "title": "Avg Response Time", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "drawStyle": "line", "fillOpacity": 10, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "showPoints": "never", "spanNulls": false } } }, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 4 }, "id": 4, "options": { "legend": { "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "rate(unbound_queries_total[5m])", "legendFormat": "queries/s", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Prometheus" }, "expr": "rate(unbound_cache_hits_total[5m])", "legendFormat": "cache hits/s", "refId": "B" } ], "title": "Query Activity", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 38, "tags": ["libreportal", "unbound"], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Unbound", "uid": "libreportal-unbound", "version": 1, "weekStart": "" }