diff --git a/changelogs/fragments/472.yml b/changelogs/fragments/472.yml new file mode 100644 index 0000000..2eaf085 --- /dev/null +++ b/changelogs/fragments/472.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - grafana - Fix PG Overview dashboard for sql_exporter so that links to the PG Details dashboard have the proper, relevant node already chosen diff --git a/grafana/postgres/sql_exporter/PG_Overview_sql_exporter.json b/grafana/postgres/sql_exporter/PG_Overview_sql_exporter.json index a8bfa1d..b994c9c 100644 --- a/grafana/postgres/sql_exporter/PG_Overview_sql_exporter.json +++ b/grafana/postgres/sql_exporter/PG_Overview_sql_exporter.json @@ -18,8 +18,8 @@ "editable": false, "fiscalYearStartMonth": 0, "graphTooltip": 0, + "id": 7, "links": [], - "liveNow": false, "panels": [ { "datasource": { @@ -35,7 +35,7 @@ { "targetBlank": true, "title": "PG Details", - "url": "/d/6jtN_vfiz/postgresql-details?$__all_variables&var-pgcluster=${__field.labels.cluster_name}" + "url": "/d/6jtN_vfiz/postgresql-details?$var-pgcluster=${__field.labels.cluster_name}&var-pgnodes=${__field.labels.job}" } ], "mappings": [ @@ -86,7 +86,7 @@ }, "gridPos": { "h": 4, - "w": 8, + "w": 24, "x": 0, "y": 0 }, @@ -97,6 +97,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" @@ -111,7 +112,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.2", + "pluginVersion": "11.5.6", "repeat": "pgnodes", "repeatDirection": "h", "targets": [ @@ -136,32 +137,28 @@ "type": "stat" } ], + "preload": false, "refresh": "5m", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [], "templating": { "list": [ { "current": { - "selected": false, "text": "PROMETHEUS", "value": "PDC1078F23EBDF0E5" }, - "hide": 0, "includeAll": false, "label": "Datasource", - "multi": false, "name": "ccp_datasource", "options": [], "query": "prometheus", "refresh": 1, "regex": "", - "skipUrlSync": false, "type": "datasource" }, { "current": { - "selected": true, "text": [ "All" ], @@ -186,12 +183,8 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -199,19 +192,7 @@ "from": "now-5m", "to": "now" }, - "timepicker": { - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "browser", "title": "PostgreSQL Overview (sql_exporter)", "uid": "d991a161-466f-44fc-9fa4-dbf395c20279",