Skip to content

Commit

Permalink
Error Fix
Browse files Browse the repository at this point in the history
Signed-off-by: souravbiswassanto <[email protected]>
  • Loading branch information
souravbiswassanto committed Jan 25, 2024
1 parent 9bda436 commit ac8a742
Showing 1 changed file with 67 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
]
},
Expand Down

0 comments on commit ac8a742

Please sign in to comment.