diff --git a/infrastructure/postgres/dashboards/postgresql-database.json b/infrastructure/postgres/dashboards/postgresql-database.json index 6724373d0703e85b84f93f7f6401e41acc17c730..53558359e037c5c9b84b88ae605ecc7135db33b4 100644 --- a/infrastructure/postgres/dashboards/postgresql-database.json +++ b/infrastructure/postgres/dashboards/postgresql-database.json @@ -3032,7 +3032,7 @@ "options": [], "query": "query_result(pg_exporter_last_scrape_duration_seconds)", "refresh": 2, - "regex": "/.*kubernetes_namespace=\"([^\"]+).*/", + "regex": "/.*exported_namespace=\"([^\"]+).*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", @@ -3052,9 +3052,9 @@ "multi": false, "name": "release", "options": [], - "query": "query_result(pg_exporter_last_scrape_duration_seconds{kubernetes_namespace=\"$namespace\"})", + "query": "query_result(pg_exporter_last_scrape_duration_seconds{exported_namespace=\"$namespace\"})", "refresh": 2, - "regex": "/.*release=\"([^\"]+)/", + "regex": "/.*cluster_name=\"([^\"]+)/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "",