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 026f35b86..9a2223f79 100644 --- a/charts/kubedb-grafana-dashboards/dashboards/postgres/postgres_summary_dashboard.json +++ b/charts/kubedb-grafana-dashboards/dashboards/postgres/postgres_summary_dashboard.json @@ -5105,75 +5105,73 @@ { "allValue": "\".+\"", "current": { - "selected": false, - "text": "demo", - "value": "demo" - }, - "datasource": "${datasource}", - "definition": "label_values(kube_namespace_labels,namespace)", - "description": null, - "error": null, - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - {{- if $shared }} - "query": { - "query": "label_values(kube_namespace_labels,namespace)", - "refId": "Prometheus-namespace-Variable-Query" - }, - "type": "query", - {{- else }} - "query": {{ $.Values.app.namespace | quote }}, - "type": "constant", - {{- end }} - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": false, - "text": "ha-postgres", - "value": "ha-postgres" - }, - "datasource": "${datasource}", - "definition": "query_result(kubedb_com_postgres_created{namespace=\"$namespace\"})", - "description": null, - "error": null, - "hide": 0, - "includeAll": false, - "label": "postgres", - "multi": false, - "name": "app", - "options": [], - {{- if $shared }} - "query": { - "query": "query_result(kubedb_com_postgres_created{namespace=\"$namespace\"})", - "refId": "Prometheus-app-Variable-Query" - }, - "type": "query", - {{- else }} - "query": {{ $.Values.app.name | quote }}, - "type": "constant", - {{- end }} - "refresh": 1, - "regex": "/.*app=\"([^\"]+).*/", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } + "selected": false, + "text": "demo", + "value": "demo" + }, + "datasource": "${datasource}", + "description": null, + "error": null, + "hide": 0, + "includeAll": false, + "label": "Namespace", + "multi": false, + "name": "namespace", + "options": [], + {{- if $shared }} + "query": { + "query": "label_values(kube_namespace_labels,namespace)", + "refId": "Prometheus-namespace-Variable-Query" + }, + "type": "query", + {{- else }} + "query": {{ $.Values.app.namespace | quote }}, + "type": "constant", + {{- end }} + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "useTags": false + }, + { + "allValue": null, + "current": { + "selected": false, + "text": "coreos-prom-postgres", + "value": "coreos-prom-postgres" + }, + "datasource": "${datasource}", + "description": null, + "error": null, + "hide": 0, + "includeAll": false, + "label": "postgres", + "multi": false, + "name": "app", + "options": [], + {{- if $shared }} + "query": { + "query": "query_result(kubedb_com_postgres_created{namespace=\"$namespace\"})", + "refId": "Prometheus-app-Variable-Query" + }, + "type": "query", + {{- else }} + "query": {{ $.Values.app.name | quote }}, + "type": "constant", + {{- end }} + "refresh": 1, + "regex": "/.*app=\"([^\"]+).*/", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "useTags": false + } {{- end }} ] },