Skip to content
Snippets Groups Projects
Commit cfd8a206 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

WebUI component:

- updated dashboard's table name
- renamed dashboard's file name
parent b3341edc
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!62Add relese/2.0.1 fixes
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
{ {
"datasource": { "datasource": {
"type": "postgres", "type": "postgres",
"uid": "questdb" "uid": "questdb-mon-kpi"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
...@@ -162,14 +162,14 @@ ...@@ -162,14 +162,14 @@
{ {
"datasource": { "datasource": {
"type": "postgres", "type": "postgres",
"uid": "questdb" "uid": "questdb-mon-kpi"
}, },
"format": "time_series", "format": "time_series",
"group": [], "group": [],
"hide": false, "hide": false,
"metricColumn": "kpi_value", "metricColumn": "kpi_value",
"rawQuery": true, "rawQuery": true,
"rawSql": "SELECT\r\n $__time(timestamp), kpi_value AS metric, device_name, endpoint_name, kpi_sample_type\r\nFROM\r\n tfs_monitoring\r\nWHERE\r\n $__timeFilter(timestamp) AND device_name IN (${device_name}) AND endpoint_name IN (${endpoint_name}) AND kpi_sample_type IN (${kpi_sample_type})\r\nGROUP BY\r\n device_name, endpoint_name, kpi_sample_type\r\nORDER BY\r\n timestamp", "rawSql": "SELECT\r\n $__time(timestamp), kpi_value AS metric, device_name, endpoint_name, kpi_sample_type\r\nFROM\r\n tfs_monitoring_kpis\r\nWHERE\r\n $__timeFilter(timestamp) AND device_name IN (${device_name}) AND endpoint_name IN (${endpoint_name}) AND kpi_sample_type IN (${kpi_sample_type})\r\nGROUP BY\r\n device_name, endpoint_name, kpi_sample_type\r\nORDER BY\r\n timestamp",
"refId": "A", "refId": "A",
"select": [ "select": [
[ [
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
} }
] ]
], ],
"table": "monitoring", "table": "tfs_monitoring_kpis",
"timeColumn": "timestamp", "timeColumn": "timestamp",
"where": [ "where": [
{ {
...@@ -227,16 +227,16 @@ ...@@ -227,16 +227,16 @@
}, },
"datasource": { "datasource": {
"type": "postgres", "type": "postgres",
"uid": "questdb" "uid": "questdb-mon-kpi"
}, },
"definition": "SELECT DISTINCT device_name FROM tfs_monitoring;", "definition": "SELECT DISTINCT device_name FROM tfs_monitoring_kpis;",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "Device", "label": "Device",
"multi": true, "multi": true,
"name": "device_name", "name": "device_name",
"options": [], "options": [],
"query": "SELECT DISTINCT device_name FROM tfs_monitoring;", "query": "SELECT DISTINCT device_name FROM tfs_monitoring_kpis;",
"refresh": 2, "refresh": 2,
"regex": "", "regex": "",
"skipUrlSync": false, "skipUrlSync": false,
...@@ -255,16 +255,16 @@ ...@@ -255,16 +255,16 @@
}, },
"datasource": { "datasource": {
"type": "postgres", "type": "postgres",
"uid": "questdb" "uid": "questdb-mon-kpi"
}, },
"definition": "SELECT DISTINCT endpoint_name FROM tfs_monitoring WHERE device_name IN (${device_name})", "definition": "SELECT DISTINCT endpoint_name FROM tfs_monitoring_kpis WHERE device_name IN (${device_name})",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "EndPoint", "label": "EndPoint",
"multi": true, "multi": true,
"name": "endpoint_name", "name": "endpoint_name",
"options": [], "options": [],
"query": "SELECT DISTINCT endpoint_name FROM tfs_monitoring WHERE device_name IN (${device_name})", "query": "SELECT DISTINCT endpoint_name FROM tfs_monitoring_kpis WHERE device_name IN (${device_name})",
"refresh": 2, "refresh": 2,
"regex": "", "regex": "",
"skipUrlSync": false, "skipUrlSync": false,
...@@ -283,16 +283,16 @@ ...@@ -283,16 +283,16 @@
}, },
"datasource": { "datasource": {
"type": "postgres", "type": "postgres",
"uid": "questdb" "uid": "questdb-mon-kpi"
}, },
"definition": "SELECT DISTINCT kpi_sample_type FROM tfs_monitoring;", "definition": "SELECT DISTINCT kpi_sample_type FROM tfs_monitoring_kpis;",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "Kpi Sample Type", "label": "Kpi Sample Type",
"multi": true, "multi": true,
"name": "kpi_sample_type", "name": "kpi_sample_type",
"options": [], "options": [],
"query": "SELECT DISTINCT kpi_sample_type FROM tfs_monitoring;", "query": "SELECT DISTINCT kpi_sample_type FROM tfs_monitoring_kpis;",
"refresh": 2, "refresh": 2,
"regex": "", "regex": "",
"skipUrlSync": false, "skipUrlSync": false,
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
"timepicker": {}, "timepicker": {},
"timezone": "utc", "timezone": "utc",
"title": "L3 Monitoring", "title": "L3 Monitoring",
"uid": "tf-l3-monit", "uid": "tfs-l3-monit",
"version": 6, "version": 6,
"weekStart": "" "weekStart": ""
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment