diff --git a/changelogs/fragments/481.yml b/changelogs/fragments/481.yml new file mode 100644 index 0000000..3f26839 --- /dev/null +++ b/changelogs/fragments/481.yml @@ -0,0 +1,2 @@ +bugfixes: + - grafana - Fixed container postgresql details dashboard query for last completed backup diff --git a/grafana/containers/postgresql_details.json b/grafana/containers/postgresql_details.json index b54f304..d38cf82 100644 --- a/grafana/containers/postgresql_details.json +++ b/grafana/containers/postgresql_details.json @@ -151,7 +151,7 @@ "pluginVersion": "7.4.5", "targets": [ { - "expr": "min(ccp_backrest_last_incr_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\"}, ccp_backrest_last_diff_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\"}, ccp_backrest_last_full_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\"})", + "expr": "min(ccp_backrest_last_incr_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\"} or ccp_backrest_last_diff_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\"} or ccp_backrest_last_full_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\"}) ", "format": "time_series", "interval": "", "intervalFactor": 1,