Created
October 20, 2022 16:35
-
-
Save tghartland/9147d88f991a95d4bab0fa7278c237eb to your computer and use it in GitHub Desktop.
Dashboard patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- pr.json 2022-10-20 17:06:25.373665330 +0100 | |
+++ suggested.json 2022-10-20 17:09:08.405445333 +0100 | |
@@ -1582,11 +1582,11 @@ | |
"datasource": "${DS_PROMETHEUS}", | |
"hide": 0, | |
"includeAll": true, | |
- "label": "Ingress", | |
+ "label": "Ingress Namespace", | |
"multi": false, | |
- "name": "ingress", | |
+ "name": "exported_namespace", | |
"options": [], | |
- "query": "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller_pod=~\"$controller\"}, ingress) ", | |
+ "query": "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller_pod=~\"$controller\"}, exported_namespace) ", | |
"refresh": 1, | |
"regex": "", | |
"sort": 1, | |
@@ -1606,11 +1606,11 @@ | |
"datasource": "${DS_PROMETHEUS}", | |
"hide": 0, | |
"includeAll": true, | |
- "label": "Exported Namespace", | |
+ "label": "Ingress", | |
"multi": false, | |
- "name": "exported_namespace", | |
+ "name": "ingress", | |
"options": [], | |
- "query": "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller_pod=~\"$controller\", ingress=~\"$ingress\"}, exported_namespace) ", | |
+ "query": "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller_pod=~\"$controller\",exported_namespace=~\"$exported_namespace\"}, ingress) ", | |
"refresh": 1, | |
"regex": "", | |
"sort": 1, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment