Skip to content

Commit

Permalink
dashboards: fix datasource reference
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Sep 26, 2024
1 parent b943e9a commit 797020c
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 179 deletions.
28 changes: 14 additions & 14 deletions imageroot/etc/dashboards/connectivity.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"__inputs": [
{
"name": "DS_LOCAL_TIMESCALE",
"name": "DS_TIMESCALE",
"label": "Local Timescale",
"description": "",
"type": "datasource",
"pluginId": "grafana-postgresql-datasource",
"pluginName": "PostgreSQL"
},
{
"name": "DS_LOCAL_PROMETHUS",
"name": "DS_PROMETHUS",
"label": "Local Promethus",
"description": "",
"type": "datasource",
Expand Down Expand Up @@ -96,7 +96,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"description": "",
"fieldConfig": {
Expand Down Expand Up @@ -166,7 +166,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"editorMode": "code",
"format": "table",
Expand Down Expand Up @@ -198,7 +198,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -253,7 +253,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"editorMode": "code",
"format": "table",
Expand Down Expand Up @@ -285,7 +285,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -366,7 +366,7 @@
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"editorMode": "code",
"format": "table",
Expand Down Expand Up @@ -482,7 +482,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "${DS_LOCAL_PROMETHUS}"
"uid": "${DS_PROMETHUS}"
},
"editorMode": "code",
"expr": "netdata_net_net_kilobits_persec_average{unit=~'$uuid',chart='net.$wan'}",
Expand Down Expand Up @@ -522,7 +522,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "${DS_LOCAL_PROMETHUS}"
"uid": "${DS_PROMETHUS}"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -602,7 +602,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "${DS_LOCAL_PROMETHUS}"
"uid": "${DS_PROMETHUS}"
},
"editorMode": "code",
"expr": "netdata_fping_latency_ms_average{unit=~'$uuid'}",
Expand Down Expand Up @@ -699,7 +699,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "${DS_LOCAL_PROMETHUS}"
"uid": "${DS_PROMETHUS}"
},
"editorMode": "code",
"expr": "netdata_fping_packets_packets_average{unit=~'$uuid'}",
Expand Down Expand Up @@ -796,7 +796,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "${DS_LOCAL_PROMETHUS}"
"uid": "${DS_PROMETHUS}"
},
"editorMode": "code",
"expr": "netdata_fping_quality_percentage_average{unit=~'$uuid'}",
Expand Down Expand Up @@ -871,7 +871,7 @@
"current": {},
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "${DS_LOCAL_TIMESCALE}"
"uid": "${DS_TIMESCALE}"
},
"definition": "SELECT device AS __value, interface AS __text FROM wan_config WHERE uuid = '$uuid'",
"hide": 0,
Expand Down
Loading

0 comments on commit 797020c

Please sign in to comment.