From 00081b90d2e660bc87a637ec1e5235a4e8fe2efd Mon Sep 17 00:00:00 2001 From: Arnob Kumar Saha Date: Wed, 7 Feb 2024 15:35:25 +0600 Subject: [PATCH] Fix datasource issue (#846) Signed-off-by: Arnob kumar saha --- .../elasticsearch_database_dashboard.json | 31 ++- .../elasticsearch_pod_dashboard.json | 32 ++-- .../elasticsearch_summary_dashboard.json | 66 +++---- .../dashboards/mariadb/mariadb-database.json | 26 +-- .../dashboards/mariadb/mariadb-galera.json | 12 +- .../dashboards/mariadb/mariadb-pod.json | 88 ++++----- .../dashboards/mariadb/mariadb-summary.json | 60 +++--- .../mongodb-database-replset-dashboard.json | 6 +- .../mongodb/mongodb-pod-dashboard.json | 4 +- .../mongodb/mongodb-summary-dashboard.json | 94 +++++----- .../mysql/mysql_database_dashboard.json | 22 +-- .../mysql/mysql_group_replication.json | 36 ++-- .../dashboards/mysql/mysql_pod_dashboard.json | 90 ++++----- .../mysql/mysql_summary_dashboard.json | 62 +++--- .../perconaxtradb/perconaxtradb-database.json | 26 +-- .../perconaxtradb/perconaxtradb-galera.json | 12 +- .../perconaxtradb/perconaxtradb-pod.json | 88 ++++----- .../perconaxtradb/perconaxtradb-summary.json | 60 +++--- .../postgres/postgres_summary_dashboard.json | 98 +++++----- .../proxysql/proxysql-database.json | 176 +++++++++--------- .../dashboards/proxysql/proxysql-pod.json | 38 ++-- .../dashboards/proxysql/proxysql-summary.json | 52 +++--- .../dashboards/redis/redis_pod_dashboard.json | 42 ++--- .../redis/redis_senitnel_dashboard.json | 40 ++-- .../redis/redis_shards_dashboard.json | 28 +-- .../redis/redis_summary_dashboard.json | 70 +++---- 26 files changed, 679 insertions(+), 680 deletions(-) diff --git a/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_database_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_database_dashboard.json index 5f0d1c48c..b7117c47a 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_database_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_database_dashboard.json @@ -3,7 +3,6 @@ "annotations": { "list": [ { - "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, @@ -28,7 +27,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +41,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -226,7 +225,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -303,7 +302,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -383,7 +382,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -397,7 +396,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -474,7 +473,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -551,7 +550,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -631,7 +630,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -711,7 +710,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -791,7 +790,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -871,7 +870,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1097,7 +1096,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1198,7 +1197,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1296,7 +1295,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, diff --git a/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_pod_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_pod_dashboard.json index 83c8caf53..bd5d4c3c5 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_pod_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_pod_dashboard.json @@ -28,7 +28,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -142,7 +142,7 @@ "cacheTimeout": null, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -248,7 +248,7 @@ "cacheTimeout": null, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -460,7 +460,7 @@ "cacheTimeout": null, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -562,7 +562,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -576,7 +576,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -653,7 +653,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -730,7 +730,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -810,7 +810,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -890,7 +890,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -970,7 +970,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1050,7 +1050,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1723,7 +1723,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1949,7 +1949,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2050,7 +2050,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_summary_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_summary_dashboard.json index 55149684a..ebf81f5f1 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_summary_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/elasticsearch/elasticsearch_summary_dashboard.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -131,7 +131,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "description": "ElasticsearchVersion CR Name", "fieldConfig": { "defaults": { @@ -208,7 +208,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "description": "ElasticsearchVersion CR Name", "fieldConfig": { "defaults": { @@ -288,7 +288,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Elasticsearch HTTP layer status", "fieldConfig": { "defaults": { @@ -370,7 +370,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -450,7 +450,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of Elasticsearch cluster", "fieldConfig": { "defaults": { @@ -512,7 +512,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by Postgres Instance", "fieldConfig": { "defaults": { @@ -571,7 +571,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by Elasticsearch instance", "fieldConfig": { "defaults": { @@ -628,7 +628,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by Elasticsearch Instance", "fieldConfig": { "defaults": { @@ -688,7 +688,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Elasticsearch Total Memory Limit", "fieldConfig": { "defaults": { @@ -746,7 +746,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total storage request by Elasticsearch nodes", "fieldConfig": { "defaults": { @@ -807,7 +807,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -824,7 +824,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by Elasticsearch pods", "fieldConfig": { "defaults": { @@ -921,7 +921,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1219,7 +1219,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1236,7 +1236,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by Elasticsearch pods", "fieldConfig": { "defaults": { @@ -1333,7 +1333,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1730,7 +1730,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1747,7 +1747,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by Elasticsearch pods", "fieldConfig": { "defaults": { @@ -1855,7 +1855,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -1974,7 +1974,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -2086,7 +2086,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2194,7 +2194,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -2515,7 +2515,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2528,7 +2528,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -2603,7 +2603,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -2664,7 +2664,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -2748,7 +2748,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2765,7 +2765,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2877,7 +2877,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2998,7 +2998,7 @@ "text": "default", "value": "default" }, - "datasource": null, + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -3033,7 +3033,7 @@ "text": "es-prod", "value": "es-prod" }, - "datasource": null, + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, diff --git a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-database.json b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-database.json index b2b25ed3c..827713280 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-database.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-database.json @@ -28,7 +28,7 @@ "links": [], "panels": [ { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -163,7 +163,7 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -266,7 +266,7 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -344,7 +344,7 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -440,7 +440,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -539,7 +539,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -650,7 +650,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -765,7 +765,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -880,7 +880,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -981,7 +981,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -1079,7 +1079,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -1191,7 +1191,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 1, "fieldConfig": { "defaults": {}, @@ -1290,7 +1290,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-galera.json b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-galera.json index 3893b6174..39b4376fe 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-galera.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-galera.json @@ -21,7 +21,7 @@ "links": [], "panels": [ { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -91,7 +91,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -192,7 +192,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -209,7 +209,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -309,7 +309,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -409,7 +409,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-pod.json b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-pod.json index 3e7fcaae1..32a46c46f 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-pod.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-pod.json @@ -22,7 +22,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -35,7 +35,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -91,7 +91,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -166,7 +166,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -226,7 +226,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -284,7 +284,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -360,7 +360,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -377,7 +377,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -474,7 +474,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "bytes" @@ -571,7 +571,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Number of open file descriptors", "fieldConfig": { "defaults": { @@ -666,7 +666,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -684,7 +684,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -789,7 +789,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -891,7 +891,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -909,7 +909,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1015,7 +1015,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1126,7 +1126,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1143,7 +1143,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1257,7 +1257,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1352,7 +1352,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1369,7 +1369,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1477,7 +1477,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1596,7 +1596,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1613,7 +1613,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1718,7 +1718,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1812,7 +1812,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1829,7 +1829,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -1959,7 +1959,7 @@ "bars": true, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -2087,7 +2087,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2104,7 +2104,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -2243,7 +2243,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2260,7 +2260,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2361,7 +2361,7 @@ "bars": true, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -2479,7 +2479,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": {}, @@ -2578,7 +2578,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2595,7 +2595,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -2695,7 +2695,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -2824,7 +2824,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2841,7 +2841,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -2939,7 +2939,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3048,7 +3048,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3065,7 +3065,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3195,7 +3195,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3300,7 +3300,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, diff --git a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-summary.json b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-summary.json index 9d37e70d8..654d52aaa 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-summary.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mariadb/mariadb-summary.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -131,7 +131,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "MariaDB CR Name", "fieldConfig": { "defaults": { @@ -213,7 +213,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "When this option is enabled, connections attempted using insecure transport will be rejected.", "fieldConfig": { "defaults": { @@ -294,7 +294,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -374,7 +374,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of MariaDB cluster", "fieldConfig": { "defaults": { @@ -436,7 +436,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by MariaDB Instance", "fieldConfig": { "defaults": { @@ -495,7 +495,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by MariaDB instance", "fieldConfig": { "defaults": { @@ -553,7 +553,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by MariaDB Instance", "fieldConfig": { "defaults": { @@ -613,7 +613,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB MariaDB Total Memory Limit", "fieldConfig": { "defaults": { @@ -672,7 +672,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total storage request by MariaDB nodes", "fieldConfig": { "defaults": { @@ -733,7 +733,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -750,7 +750,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by MariaDB pods", "fieldConfig": { "defaults": {}, @@ -841,7 +841,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1134,7 +1134,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1151,7 +1151,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by MariaDB pods", "fieldConfig": { "defaults": { @@ -1244,7 +1244,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1641,7 +1641,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1658,7 +1658,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by MariaDB pods", "fieldConfig": { "defaults": { @@ -1755,7 +1755,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -1863,7 +1863,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -1964,7 +1964,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2061,7 +2061,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -2382,7 +2382,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2395,7 +2395,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -2470,7 +2470,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -2531,7 +2531,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -2615,7 +2615,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2632,7 +2632,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2731,7 +2731,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" diff --git a/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-database-replset-dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-database-replset-dashboard.json index 76f44cd22..8f3b0cdf7 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-database-replset-dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-database-replset-dashboard.json @@ -31,7 +31,7 @@ "liveNow": false, "panels": [ { - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -447,7 +447,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -684,7 +684,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, diff --git a/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-pod-dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-pod-dashboard.json index e25593656..763945880 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-pod-dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-pod-dashboard.json @@ -32,7 +32,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -275,7 +275,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, diff --git a/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-summary-dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-summary-dashboard.json index fd6311e80..f0272949f 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-summary-dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mongodb/mongodb-summary-dashboard.json @@ -30,7 +30,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -43,7 +43,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -132,7 +132,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "description": "MongoDBVersion CR Name", "fieldConfig": { "defaults": { @@ -208,7 +208,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by MongoDB instance", "fieldConfig": { "defaults": { @@ -265,7 +265,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB MongoDB Total Memory Limit", "fieldConfig": { "defaults": { @@ -323,7 +323,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total storage request by MongoDB nodes", "fieldConfig": { "defaults": { @@ -384,7 +384,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "description": "MongoDBVersion CR Name", "fieldConfig": { "defaults": { @@ -464,7 +464,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of MongoDB cluster", "fieldConfig": { "defaults": { @@ -526,7 +526,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by Postgres Instance", "fieldConfig": { "defaults": { @@ -585,7 +585,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by MongoDB Instance", "fieldConfig": { "defaults": { @@ -645,7 +645,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -765,7 +765,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -905,7 +905,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1041,7 +1041,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1177,7 +1177,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1313,7 +1313,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "percentunit" @@ -1421,7 +1421,7 @@ {{- end }} { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1438,7 +1438,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by MongoDB pods", "fieldConfig": { "defaults": { @@ -1540,7 +1540,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1781,7 +1781,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1798,7 +1798,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by MongoDB pods", "fieldConfig": { "defaults": { @@ -1895,7 +1895,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -2331,7 +2331,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "percentunit" @@ -2475,7 +2475,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2574,7 +2574,7 @@ {{- end }} { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2591,7 +2591,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by MongoDB pods", "fieldConfig": { "defaults": { @@ -2696,7 +2696,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -2812,7 +2812,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -2921,7 +2921,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -3026,7 +3026,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -3347,7 +3347,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3360,7 +3360,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -3435,7 +3435,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -3498,7 +3498,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -3629,7 +3629,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "percentunit" @@ -3734,7 +3734,7 @@ {{- end }} { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3751,7 +3751,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -3860,7 +3860,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -4005,7 +4005,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4143,7 +4143,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4242,7 +4242,7 @@ {{- end }} { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -4296,7 +4296,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4432,7 +4432,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4568,7 +4568,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4704,7 +4704,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4840,7 +4840,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4976,7 +4976,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { diff --git a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_database_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_database_dashboard.json index 77a1d3b0a..95e834646 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_database_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_database_dashboard.json @@ -28,7 +28,7 @@ "links": [], "panels": [ { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -163,7 +163,7 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -270,7 +270,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -369,7 +369,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -480,7 +480,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -595,7 +595,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -710,7 +710,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -811,7 +811,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -909,7 +909,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -1021,7 +1021,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 1, "fieldConfig": { "defaults": {}, @@ -1120,7 +1120,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_group_replication.json b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_group_replication.json index fbbaa5759..81c2c1086 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_group_replication.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_group_replication.json @@ -21,7 +21,7 @@ "links": [], "panels": [ { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -121,7 +121,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -192,7 +192,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -209,7 +209,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -309,7 +309,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -409,7 +409,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -509,7 +509,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -609,7 +609,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -706,7 +706,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -723,7 +723,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -823,7 +823,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -923,7 +923,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1023,7 +1023,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1123,7 +1123,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1223,7 +1223,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1323,7 +1323,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1420,7 +1420,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1437,7 +1437,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_pod_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_pod_dashboard.json index 8a4dc193f..62b1f5b77 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_pod_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_pod_dashboard.json @@ -22,7 +22,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -35,7 +35,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -91,7 +91,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -166,7 +166,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -226,7 +226,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -284,7 +284,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -360,7 +360,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -377,7 +377,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -474,7 +474,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "bytes" @@ -571,7 +571,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Number of open file descriptors", "fieldConfig": { "defaults": { @@ -666,7 +666,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -684,7 +684,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -789,7 +789,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -891,7 +891,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -909,7 +909,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1015,7 +1015,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1126,7 +1126,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1143,7 +1143,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1257,7 +1257,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1352,7 +1352,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1369,7 +1369,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1477,7 +1477,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1596,7 +1596,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1613,7 +1613,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1718,7 +1718,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1812,7 +1812,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1829,7 +1829,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -1959,7 +1959,7 @@ "bars": true, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -2087,7 +2087,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2104,7 +2104,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -2243,7 +2243,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2260,7 +2260,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2361,7 +2361,7 @@ "bars": true, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -2479,7 +2479,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": {}, @@ -2578,7 +2578,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2595,7 +2595,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -2695,7 +2695,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -2824,7 +2824,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2841,7 +2841,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -2939,7 +2939,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3048,7 +3048,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3065,7 +3065,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3195,7 +3195,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3300,7 +3300,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3511,7 +3511,7 @@ "sample-mysql-0" ] }, - "datasource": null, + "datasource": "${datasource}", "definition": "label_values(mysql_up{namespace=~\"$namespace\", service=~\"$app+-stats\"}, pod)", "description": null, "error": null, diff --git a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_summary_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_summary_dashboard.json index 4b41a5494..a4ef7beb6 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_summary_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/mysql/mysql_summary_dashboard.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -131,7 +131,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "MySQL CR Name", "fieldConfig": { "defaults": { @@ -214,7 +214,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "MySQL CR Name", "fieldConfig": { "defaults": { @@ -296,7 +296,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "When this option is enabled, connections attempted using insecure transport will be rejected.", "fieldConfig": { "defaults": { @@ -377,7 +377,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -457,7 +457,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of MySQL cluster", "fieldConfig": { "defaults": { @@ -519,7 +519,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by MySQL Instance", "fieldConfig": { "defaults": { @@ -578,7 +578,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by MySQL instance", "fieldConfig": { "defaults": { @@ -636,7 +636,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by MySQL Instance", "fieldConfig": { "defaults": { @@ -696,7 +696,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB MySQL Total Memory Limit", "fieldConfig": { "defaults": { @@ -755,7 +755,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total storage request by MySQL nodes", "fieldConfig": { "defaults": { @@ -816,7 +816,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -833,7 +833,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by MySQL pods", "fieldConfig": { "defaults": {}, @@ -924,7 +924,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1217,7 +1217,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1234,7 +1234,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by MySQL pods", "fieldConfig": { "defaults": { @@ -1327,7 +1327,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1724,7 +1724,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1741,7 +1741,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by MySQL pods", "fieldConfig": { "defaults": { @@ -1838,7 +1838,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -1946,7 +1946,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -2047,7 +2047,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2144,7 +2144,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -2465,7 +2465,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2478,7 +2478,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -2553,7 +2553,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -2614,7 +2614,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -2698,7 +2698,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2715,7 +2715,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2814,7 +2814,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" diff --git a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-database.json b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-database.json index 8c74bf979..c42c673c5 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-database.json +++ b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-database.json @@ -28,7 +28,7 @@ "links": [], "panels": [ { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -163,7 +163,7 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -266,7 +266,7 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -344,7 +344,7 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -440,7 +440,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -539,7 +539,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -650,7 +650,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -765,7 +765,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -880,7 +880,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -981,7 +981,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -1079,7 +1079,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -1191,7 +1191,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 1, "fieldConfig": { "defaults": {}, @@ -1290,7 +1290,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-galera.json b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-galera.json index 755caa0b2..60c8258fd 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-galera.json +++ b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-galera.json @@ -21,7 +21,7 @@ "links": [], "panels": [ { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -91,7 +91,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -192,7 +192,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -209,7 +209,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -309,7 +309,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -409,7 +409,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] diff --git a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-pod.json b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-pod.json index 99a09b0a6..96ba92c66 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-pod.json +++ b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-pod.json @@ -22,7 +22,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -35,7 +35,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -91,7 +91,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -166,7 +166,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -226,7 +226,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -284,7 +284,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -360,7 +360,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -377,7 +377,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -474,7 +474,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "bytes" @@ -571,7 +571,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Number of open file descriptors", "fieldConfig": { "defaults": { @@ -666,7 +666,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -684,7 +684,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -789,7 +789,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -891,7 +891,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -909,7 +909,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1015,7 +1015,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1126,7 +1126,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1143,7 +1143,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1257,7 +1257,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1352,7 +1352,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1369,7 +1369,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1477,7 +1477,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1596,7 +1596,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1613,7 +1613,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1718,7 +1718,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1812,7 +1812,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1829,7 +1829,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -1959,7 +1959,7 @@ "bars": true, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -2087,7 +2087,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2104,7 +2104,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -2243,7 +2243,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2260,7 +2260,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2361,7 +2361,7 @@ "bars": true, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -2479,7 +2479,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": {}, @@ -2578,7 +2578,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2595,7 +2595,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -2695,7 +2695,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -2824,7 +2824,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2841,7 +2841,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -2939,7 +2939,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3048,7 +3048,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3065,7 +3065,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3195,7 +3195,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, @@ -3300,7 +3300,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": {}, diff --git a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-summary.json b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-summary.json index ad844a2c7..f5b311d0a 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-summary.json +++ b/charts/kubedb-grafana-dashboards/dashboards/perconaxtradb/perconaxtradb-summary.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -131,7 +131,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "PerconaXtraDB CR Name", "fieldConfig": { "defaults": { @@ -213,7 +213,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "When this option is enabled, connections attempted using insecure transport will be rejected.", "fieldConfig": { "defaults": { @@ -294,7 +294,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -374,7 +374,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of PerconaXtraDB cluster", "fieldConfig": { "defaults": { @@ -436,7 +436,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by PerconaXtraDB Instance", "fieldConfig": { "defaults": { @@ -495,7 +495,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by PerconaXtraDB instance", "fieldConfig": { "defaults": { @@ -553,7 +553,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by PerconaXtraDB Instance", "fieldConfig": { "defaults": { @@ -613,7 +613,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB perconaxtradb Total Memory Limit", "fieldConfig": { "defaults": { @@ -672,7 +672,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total storage request by perconaxtradb nodes", "fieldConfig": { "defaults": { @@ -733,7 +733,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -750,7 +750,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by PerconaXtraDB pods", "fieldConfig": { "defaults": {}, @@ -841,7 +841,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1134,7 +1134,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1151,7 +1151,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by PerconaXtraDB pods", "fieldConfig": { "defaults": { @@ -1244,7 +1244,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1641,7 +1641,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1658,7 +1658,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by PerconaXtraDB pods", "fieldConfig": { "defaults": { @@ -1755,7 +1755,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -1863,7 +1863,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -1964,7 +1964,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2061,7 +2061,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -2382,7 +2382,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2395,7 +2395,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -2470,7 +2470,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -2531,7 +2531,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -2615,7 +2615,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2632,7 +2632,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2731,7 +2731,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" diff --git a/charts/kubedb-grafana-dashboards/dashboards/postgres/postgres_summary_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/postgres/postgres_summary_dashboard.json index 782d8a4bc..1f987e6af 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/postgres/postgres_summary_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/postgres/postgres_summary_dashboard.json @@ -30,7 +30,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -44,7 +44,7 @@ }, { "cacheTimeout": null, - "datasource": null, + "datasource": "${datasource}", "description": "Postgresql Version", "fieldConfig": { "defaults": { @@ -109,7 +109,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Database uptime", "fieldConfig": { "defaults": { @@ -168,7 +168,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total replica count of the Postgres database", "fieldConfig": { "defaults": { @@ -230,7 +230,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -318,7 +318,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Postgres Current SSL Mode", "fieldConfig": { "defaults": { @@ -386,7 +386,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Postgres Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -466,7 +466,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by Postgres Instance", "fieldConfig": { "defaults": { @@ -525,7 +525,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by Postgres instance", "fieldConfig": { "defaults": { @@ -583,7 +583,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by Postgres Instance", "fieldConfig": { "defaults": { @@ -643,7 +643,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Postgres Total Memory Limit", "fieldConfig": { "defaults": { @@ -702,7 +702,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Intial Storage Request by Postgres Instance when deploying", "fieldConfig": { "defaults": { @@ -762,7 +762,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Maximum number of concurrent connections of the Postgres instance", "fieldConfig": { "defaults": { @@ -861,7 +861,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -995,7 +995,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1129,7 +1129,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1263,7 +1263,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1397,7 +1397,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1531,7 +1531,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1631,7 +1631,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "The current active line shows the current primary pod", "fill": 1, "fillGradient": 0, @@ -1734,7 +1734,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Postgres connections information in real time", "fill": 1, "fillGradient": 0, @@ -1833,7 +1833,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "Track the current Primary for Raft", "fieldConfig": { "defaults": { @@ -1922,7 +1922,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1939,7 +1939,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by Postgres pods", "fill": 1, "fillGradient": 0, @@ -2077,7 +2077,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "percentunit" @@ -2183,7 +2183,7 @@ }, {{- end }} { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -2470,7 +2470,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2487,7 +2487,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by Postgres pods", "fieldConfig": { "defaults": { @@ -2591,7 +2591,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -3021,7 +3021,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "percentunit" @@ -3126,7 +3126,7 @@ {{- end }} { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3143,7 +3143,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by Postgres pods", "fieldConfig": { "defaults": { @@ -3251,7 +3251,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -3370,7 +3370,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3482,7 +3482,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -3590,7 +3590,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -3911,7 +3911,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -3924,7 +3924,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -3999,7 +3999,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -4062,7 +4062,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -4193,7 +4193,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -4299,7 +4299,7 @@ {{- end }} { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -4316,7 +4316,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -4428,7 +4428,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -4576,7 +4576,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4710,7 +4710,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4844,7 +4844,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4978,7 +4978,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -5112,7 +5112,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "More than one primary server online", "fill": 1, "fillGradient": 0, diff --git a/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-database.json b/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-database.json index 1083a34ce..c090b0d43 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-database.json +++ b/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-database.json @@ -22,7 +22,7 @@ "panels": [ { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -32,7 +32,7 @@ "id": 163, "panels": [ { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -155,7 +155,7 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "custom": { @@ -263,7 +263,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -277,7 +277,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -388,7 +388,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -503,7 +503,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 1, "fieldConfig": { "defaults": {}, @@ -602,7 +602,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -707,7 +707,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -721,7 +721,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -815,7 +815,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -909,7 +909,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1003,7 +1003,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1097,7 +1097,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1191,7 +1191,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1285,7 +1285,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1380,7 +1380,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1394,7 +1394,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1488,7 +1488,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1582,7 +1582,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1676,7 +1676,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1770,7 +1770,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1864,7 +1864,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -1959,7 +1959,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1973,7 +1973,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2067,7 +2067,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2161,7 +2161,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2256,7 +2256,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2270,7 +2270,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2364,7 +2364,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2459,7 +2459,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2473,7 +2473,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2567,7 +2567,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2661,7 +2661,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2755,7 +2755,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2849,7 +2849,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2943,7 +2943,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -3037,7 +3037,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3134,7 +3134,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3231,7 +3231,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3328,7 +3328,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3425,7 +3425,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3522,7 +3522,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3619,7 +3619,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3716,7 +3716,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3813,7 +3813,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -3910,7 +3910,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -4007,7 +4007,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -4104,7 +4104,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -4202,7 +4202,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -4216,7 +4216,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4310,7 +4310,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4404,7 +4404,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4498,7 +4498,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4592,7 +4592,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4686,7 +4686,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4780,7 +4780,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4875,7 +4875,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -4889,7 +4889,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -4983,7 +4983,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5077,7 +5077,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5172,7 +5172,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -5186,7 +5186,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5280,7 +5280,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5374,7 +5374,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5469,7 +5469,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -5483,7 +5483,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5577,7 +5577,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5671,7 +5671,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5765,7 +5765,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5859,7 +5859,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -5953,7 +5953,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6047,7 +6047,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6141,7 +6141,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6236,7 +6236,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -6250,7 +6250,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6344,7 +6344,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6438,7 +6438,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6532,7 +6532,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -6627,7 +6627,7 @@ }, { "collapsed": true, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -6641,7 +6641,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -6778,7 +6778,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -6915,7 +6915,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -7039,7 +7039,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -7163,7 +7163,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -7319,7 +7319,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -7475,7 +7475,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -7574,7 +7574,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" diff --git a/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-pod.json b/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-pod.json index 1e548d378..c8622a71d 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-pod.json +++ b/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-pod.json @@ -22,7 +22,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -35,7 +35,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -91,7 +91,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -167,7 +167,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -184,7 +184,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "none" @@ -281,7 +281,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "bytes" @@ -375,7 +375,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -393,7 +393,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -498,7 +498,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -592,7 +592,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -609,7 +609,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -704,7 +704,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -721,7 +721,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -815,7 +815,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -832,7 +832,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": 2, "description": "\n\nHere we can see how much network traffic is generated by MySQL. Outbound is network traffic sent from MySQL and Inbound is network traffic MySQL has received.", "editable": true, @@ -959,7 +959,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -976,7 +976,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -1076,7 +1076,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "fieldConfig": { "defaults": { @@ -1313,7 +1313,7 @@ "proxy-mysql-1" ] }, - "datasource": null, + "datasource": "${datasource}", "definition": "label_values(proxysql_uptime_seconds_total{namespace=~\"$namespace\", service=~\"$app\"}, pod)", "description": null, "error": null, diff --git a/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-summary.json b/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-summary.json index 89e5b60b5..02ede05dc 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-summary.json +++ b/charts/kubedb-grafana-dashboards/dashboards/proxysql/proxysql-summary.json @@ -4,7 +4,7 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": "${datasource}", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -131,7 +131,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "ProxySQL CR Name", "fieldConfig": { "defaults": { @@ -213,7 +213,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Backend Server Kind and Instance", "fieldConfig": { "defaults": { @@ -279,7 +279,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -358,7 +358,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of ProxySQL cluster", "fieldConfig": { "defaults": { @@ -420,7 +420,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by ProxySQL Instance", "fieldConfig": { "defaults": { @@ -479,7 +479,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by ProxySQL instance", "fieldConfig": { "defaults": { @@ -537,7 +537,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB ProxySQL Total Memory Limit", "fieldConfig": { "defaults": { @@ -596,7 +596,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by ProxySQL Instance", "fieldConfig": { "defaults": { @@ -656,7 +656,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -737,7 +737,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -754,7 +754,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by ProxySQL pods", "fieldConfig": { "defaults": {}, @@ -845,7 +845,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1138,7 +1138,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1155,7 +1155,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by ProxySQL pods", "fieldConfig": { "defaults": { @@ -1248,7 +1248,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1645,7 +1645,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1662,7 +1662,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by ProxySQL pods", "fieldConfig": { "defaults": { @@ -1759,7 +1759,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -1867,7 +1867,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -1968,7 +1968,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2066,7 +2066,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2083,7 +2083,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2182,7 +2182,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" diff --git a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_pod_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_pod_dashboard.json index 184dd0f86..bf407dc2c 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_pod_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_pod_dashboard.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -43,7 +43,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -138,7 +138,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -236,7 +236,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -320,7 +320,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -414,7 +414,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -497,7 +497,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "Number of goroutines that currently exist", "fieldConfig": { "defaults": { @@ -573,7 +573,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -644,7 +644,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -725,7 +725,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "editable": true, "error": false, "fieldConfig": { @@ -832,7 +832,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "decimals": 2, "editable": true, "error": false, @@ -956,7 +956,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "editable": true, "error": false, "fieldConfig": { @@ -1071,7 +1071,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "editable": true, "error": false, "fieldConfig": { @@ -1179,7 +1179,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "links": [] @@ -1277,7 +1277,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1296,7 +1296,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "editable": true, "error": false, "fieldConfig": { @@ -1420,7 +1420,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "Average user and system CPU time spent in seconds.", "editable": true, "error": false, @@ -1534,7 +1534,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "Virtual and Resident memory size in bytes, averages over 5 min interval", "editable": true, "error": false, @@ -1667,7 +1667,7 @@ "text": "demo", "value": "demo" }, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -1699,7 +1699,7 @@ "text": "demo-rd", "value": "demo-rd" }, - "datasource": null, + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -1731,7 +1731,7 @@ "text": "demo-rd-shard0-0", "value": "demo-rd-shard0-0" }, - "datasource": "Prometheus", + "datasource": "${datasource}", "definition": "label_values(redis_up{namespace=~\"$namespace\",pod=~\"${app}-.*\"},pod)", "description": null, "error": null, diff --git a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_senitnel_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_senitnel_dashboard.json index 507276fb5..9d7cf0fe4 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_senitnel_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_senitnel_dashboard.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -43,7 +43,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -138,7 +138,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -224,7 +224,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "editable": true, "error": false, "fieldConfig": { @@ -328,7 +328,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -399,7 +399,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "Number of goroutines that currently exist", "fieldConfig": { "defaults": { @@ -478,7 +478,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "editable": true, "error": false, "fieldConfig": { @@ -593,7 +593,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "links": [] @@ -689,7 +689,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -706,7 +706,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by Redis pods", "fieldConfig": { "defaults": {}, @@ -808,7 +808,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1101,7 +1101,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1118,7 +1118,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by Redis pods", "fieldConfig": { "defaults": { @@ -1222,7 +1222,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1619,7 +1619,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1638,7 +1638,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "Average user and system CPU time spent in seconds.", "editable": true, "error": false, @@ -1750,7 +1750,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "Virtual and Resident memory size in bytes, averages over 5 min interval", "editable": true, "error": false, @@ -1881,7 +1881,7 @@ "text": "demo", "value": "demo" }, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -1916,7 +1916,7 @@ "text": "sentinel", "value": "sentinel" }, - "datasource": null, + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -1951,7 +1951,7 @@ "text": "sentinel-0", "value": "sentinel-0" }, - "datasource": "Prometheus", + "datasource": "${datasource}", "definition": "label_values(redis_up{namespace=~\"$namespace\",pod=~\"${app}-.*\"},pod)", "description": null, "error": null, diff --git a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_shards_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_shards_dashboard.json index 6d466147a..632a1e8b4 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_shards_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_shards_dashboard.json @@ -3,8 +3,8 @@ "annotations": { "list": [ { - "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": "${datasource}", + "datasource": "${datasource}", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -43,7 +43,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -129,7 +129,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -223,7 +223,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -309,7 +309,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -428,7 +428,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "", "fieldConfig": { "defaults": { @@ -510,7 +510,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -582,7 +582,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -684,7 +684,7 @@ "text": "demo", "value": "demo" }, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -716,7 +716,7 @@ "text": "demo-rd", "value": "demo-rd" }, - "datasource": null, + "datasource": "${datasource}", "description": null, "error": null, "hide": 0, @@ -748,7 +748,7 @@ "text": "demo-rd-shard0-0", "value": "demo-rd-shard0-0" }, - "datasource": "Prometheus", + "datasource": "${datasource}", "definition": "label_values(redis_up{namespace=~\"$namespace\",pod=~\"${app}-shard.*\"},pod)", "description": null, "error": null, @@ -770,7 +770,7 @@ "useTags": false }, { - "datasource": "Prometheus", + "datasource": "${datasource}", "description": null, "error": null, "filters": [], diff --git a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_summary_dashboard.json b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_summary_dashboard.json index 12008ab13..169c81e96 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/redis/redis_summary_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/redis/redis_summary_dashboard.json @@ -29,7 +29,7 @@ "panels": [ { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -42,7 +42,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Represent database status", "fieldConfig": { "defaults": { @@ -131,7 +131,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "RedisVersion CR Name", "fieldConfig": { "defaults": { @@ -212,7 +212,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "redis_config_maxclients", "fieldConfig": { "defaults": { @@ -279,7 +279,7 @@ }, { "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": "${datasource}", "description": "RedisMode CR Name", "fieldConfig": { "defaults": { @@ -359,7 +359,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Database Resource terminationPolicy", "fieldConfig": { "defaults": { @@ -439,7 +439,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total node count of Redis cluster", "fieldConfig": { "defaults": { @@ -501,7 +501,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested CPU amount by Postgres Instance", "fieldConfig": { "defaults": { @@ -560,7 +560,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Limit in core by Redis instance", "fieldConfig": { "defaults": { @@ -617,7 +617,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Initial Requested Memory amount by Redis Instance", "fieldConfig": { "defaults": { @@ -677,7 +677,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "KubeDB Redis Total Memory Limit", "fieldConfig": { "defaults": { @@ -735,7 +735,7 @@ "type": "stat" }, { - "datasource": null, + "datasource": "${datasource}", "description": "Total storage request by Redis nodes", "fieldConfig": { "defaults": { @@ -796,7 +796,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -813,7 +813,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "CPU Usage by Redis pods", "fieldConfig": { "defaults": {}, @@ -915,7 +915,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "description": "CPU Quote information in details", "fieldConfig": { "defaults": { @@ -1208,7 +1208,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1225,7 +1225,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Memory Usage by Redis pods", "fieldConfig": { "defaults": { @@ -1329,7 +1329,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -1726,7 +1726,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -1743,7 +1743,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "Disk usage by Redis pods", "fieldConfig": { "defaults": { @@ -1851,7 +1851,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "description": "System Disk Usage Information", "fieldConfig": { "defaults": { @@ -1970,7 +1970,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "short" @@ -2082,7 +2082,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2190,7 +2190,7 @@ } }, { - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "color": { @@ -2511,7 +2511,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2524,7 +2524,7 @@ "type": "row" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes allocated persistent storage in a table format\n", "fieldConfig": { "defaults": { @@ -2599,7 +2599,7 @@ "type": "table" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel shows the persistent volume usage in percentage. ", "fieldConfig": { "defaults": { @@ -2660,7 +2660,7 @@ "type": "bargauge" }, { - "datasource": null, + "datasource": "${datasource}", "description": "This panel describes the persistent volume usage in a time series. ", "fieldConfig": { "defaults": { @@ -2744,7 +2744,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2761,7 +2761,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2873,7 +2873,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "fieldConfig": { "defaults": { "unit": "Bps" @@ -2982,7 +2982,7 @@ }, { "collapsed": false, - "datasource": null, + "datasource": "${datasource}", "gridPos": { "h": 1, "w": 24, @@ -2999,7 +2999,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": null, "description": "", "fieldConfig": { @@ -3099,7 +3099,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": null, "description": "", "fieldConfig": { @@ -3208,7 +3208,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": "${datasource}", "decimals": null, "description": "", "fieldConfig": {