Fix dashboard to support external use.
All checks were successful
Build Docker image / build (push) Successful in 1m14s
Build Golang packages / release (push) Has been skipped

This commit is contained in:
Pieter Hollander 2024-07-26 18:09:17 +02:00
parent 7f1c425868
commit 2475d05553
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg

View file

@ -1,4 +1,35 @@
{
"__inputs": [
{
"name": "DS_P1",
"label": "p1",
"description": "",
"type": "datasource",
"pluginId": "grafana-postgresql-datasource",
"pluginName": "PostgreSQL"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.1.1"
},
{
"type": "datasource",
"id": "grafana-postgresql-datasource",
"name": "PostgreSQL",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
@ -18,14 +49,14 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 4,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"uid": "${DS_P1}"
},
"fieldConfig": {
"defaults": {
@ -110,8 +141,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -144,7 +175,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"uid": "${DS_P1}"
},
"fieldConfig": {
"defaults": {
@ -227,8 +258,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -261,7 +292,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"uid": "${DS_P1}"
},
"description": "First + Last = sinds 0, Range = huidige tijdsperiode.",
"fieldConfig": {
@ -345,8 +376,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -378,8 +409,8 @@
},
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"description": "Min: 216,2V. Max: 253V. (-6% tot +10%)",
"fieldConfig": {
@ -464,8 +495,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -497,8 +528,8 @@
},
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"description": "Hoofdaansluiting: 3*25A",
"fieldConfig": {
@ -583,8 +614,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -617,7 +648,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"uid": "${DS_P1}"
},
"fieldConfig": {
"defaults": {
@ -699,8 +730,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -732,7 +763,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"uid": "${DS_P1}"
},
"description": "1L = 1 dm^3 dus 1kL = 1m^3. \nRange = verbruik in geselecteerde periode.",
"fieldConfig": {
@ -821,8 +852,8 @@
"targets": [
{
"datasource": {
"type": "postgres",
"uid": "e2a4c5ce-511e-4a7d-acb7-fcbb79b230bf"
"type": "grafana-postgresql-datasource",
"uid": "${DS_P1}"
},
"editorMode": "code",
"format": "table",
@ -859,8 +890,8 @@
"list": []
},
"time": {
"from": "now-2d/d",
"to": "now-2d/d"
"from": "now/d",
"to": "now"
},
"timepicker": {},
"timezone": "",