{ "apiVersion": "dashboard.grafana.app/v2", "kind": "Dashboard", "metadata": { "name": "5101a7c4-e5cd-4178-8acf-320588a7a25e", "namespace": "stacks-1621083", "uid": "f58db8b6-0cc4-47dd-8f94-9c0a04f2074d", "resourceVersion": "1777800808563412", "generation": 4, "creationTimestamp": "2026-05-02T22:02:27Z", "labels": { "grafana.app/deprecatedInternalID": "10" }, "annotations": { "grafana.app/createdBy": "user:ffkviz5ugketce", "grafana.app/folder": "", "grafana.app/saved-from-ui": "Grafana Cloud", "grafana.app/updatedBy": "user:ffkviz5ugketce", "grafana.app/updatedTimestamp": "2026-05-03T09:33:28Z" } }, "spec": { "annotations": [ { "kind": "AnnotationQuery", "spec": { "query": { "kind": "DataQuery", "group": "grafana", "version": "v0", "datasource": { "name": "-- Grafana --" }, "spec": {} }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "builtIn": true } } ], "cursorSync": "Off", "editable": true, "elements": { "panel-1": { "kind": "Panel", "spec": { "id": 1, "title": "Wattage", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "builder", "expr": "octopus_electricity_demand_watts{instance=\"localhost:9359\"}", "legendFormat": "Watts", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "13.1.0-25098815508", "spec": { "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [] } } } } }, "panel-10": { "kind": "Panel", "spec": { "id": 10, "title": "Price", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh{instance=\"localhost:9359\"} * on() octopus_electricity_unit_rate_pence{instance=\"localhost:9359\"})[$__range:30m]) / 100", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "30d" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "currencyGBP", "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-2": { "kind": "Panel", "spec": { "id": 2, "title": "Current Watts", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "exemplar": false, "expr": "octopus_electricity_demand_watts{job=\"octopus_exporter\", instance=\"localhost:9359\"}", "instant": true, "legendFormat": "__auto", "range": false } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "watt", "min": 0, "max": 5000, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 1000, "color": "yellow" }, { "value": 2000, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-3": { "kind": "Panel", "spec": { "id": 3, "title": "Average (30 min)", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{instance=\"localhost:9359\"}[30m])", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "30m" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "watt", "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 1000, "color": "#EAB839" }, { "value": 2000, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-4": { "kind": "Panel", "spec": { "id": 4, "title": "Average (1 day)", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{instance=\"localhost:9359\"}[24h])", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "1d" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "watt", "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 1000, "color": "#EAB839" }, { "value": 2000, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-5": { "kind": "Panel", "spec": { "id": 5, "title": "Average (7 days)", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{instance=\"localhost:9359\"}[7d])", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "7d" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "watt", "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 1000, "color": "#EAB839" }, { "value": 2000, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-6": { "kind": "Panel", "spec": { "id": 6, "title": "Average (6 hours)", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "avg_over_time(octopus_electricity_demand_watts{instance=\"localhost:9359\"}[6h])", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "6h" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "watt", "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 1000, "color": "#EAB839" }, { "value": 2000, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-7": { "kind": "Panel", "spec": { "id": 7, "title": "Price", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh{instance=\"localhost:9359\"} * on() octopus_electricity_unit_rate_pence{instance=\"localhost:9359\"})[$__range:30m]) / 100", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "1h" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "currencyGBP", "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-8": { "kind": "Panel", "spec": { "id": 8, "title": "Price", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh{instance=\"localhost:9359\"} * on() octopus_electricity_unit_rate_pence{instance=\"localhost:9359\"})[$__range:30m]) / 100", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "1d" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "currencyGBP", "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-9": { "kind": "Panel", "spec": { "id": 9, "title": "Price", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "grafanacloud-prom" }, "spec": { "editorMode": "code", "expr": "sum_over_time((octopus_electricity_consumption_kwh{instance=\"localhost:9359\"} * on() octopus_electricity_unit_rate_pence{instance=\"localhost:9359\"})[$__range:30m]) / 100", "legendFormat": "__auto", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "timeFrom": "1w" } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "13.1.0-25098815508", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": true, "textMode": "auto", "wideLayout": true }, "fieldConfig": { "defaults": { "unit": "currencyGBP", "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } } }, "layout": { "kind": "GridLayout", "spec": { "items": [ { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 0, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-3" } } }, { "kind": "GridLayoutItem", "spec": { "x": 6, "y": 0, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-6" } } }, { "kind": "GridLayoutItem", "spec": { "x": 12, "y": 0, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-4" } } }, { "kind": "GridLayoutItem", "spec": { "x": 18, "y": 0, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-5" } } }, { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 6, "width": 18, "height": 7, "element": { "kind": "ElementReference", "name": "panel-1" } } }, { "kind": "GridLayoutItem", "spec": { "x": 18, "y": 6, "width": 6, "height": 7, "element": { "kind": "ElementReference", "name": "panel-2" } } }, { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 13, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-7" } } }, { "kind": "GridLayoutItem", "spec": { "x": 6, "y": 13, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-8" } } }, { "kind": "GridLayoutItem", "spec": { "x": 12, "y": 13, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-9" } } }, { "kind": "GridLayoutItem", "spec": { "x": 18, "y": 13, "width": 6, "height": 6, "element": { "kind": "ElementReference", "name": "panel-10" } } } ] } }, "links": [], "liveNow": true, "preload": false, "tags": [], "timeSettings": { "timezone": "browser", "from": "now-24h", "to": "now", "autoRefresh": "1m", "autoRefreshIntervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "hideTimepicker": false, "fiscalYearStartMonth": 0 }, "title": "Energy", "variables": [] } }