Merge pull request #2934 from fqsghostcloud/fqsghostcloud-patch-1

Datasource input variable
This commit is contained in:
k8s-ci-robot 2018-08-14 06:20:01 -07:00 committed by GitHub
commit d30b7b7d7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@
"type": "dashboard" "type": "dashboard"
}, },
{ {
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"enable": true, "enable": true,
"expr": "sum(changes(nginx_ingress_controller_config_last_reload_successful_timestamp_seconds{instance!=\"unknown\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[30s])) by (controller_class)", "expr": "sum(changes(nginx_ingress_controller_config_last_reload_successful_timestamp_seconds{instance!=\"unknown\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[30s])) by (controller_class)",
"hide": false, "hide": false,
@ -72,7 +72,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"format": "ops", "format": "ops",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -154,7 +154,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -237,7 +237,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"format": "percentunit", "format": "percentunit",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
@ -319,7 +319,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"decimals": 0, "decimals": 0,
"format": "none", "format": "none",
"gauge": { "gauge": {
@ -403,7 +403,7 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"decimals": 0, "decimals": 0,
"format": "none", "format": "none",
"gauge": { "gauge": {
@ -483,7 +483,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"decimals": 2, "decimals": 2,
"editable": true, "editable": true,
"error": false, "error": false,
@ -599,7 +599,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"decimals": 2, "decimals": 2,
"editable": false, "editable": false,
"error": false, "error": false,
@ -701,7 +701,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"decimals": 3, "decimals": 3,
"editable": false, "editable": false,
"error": false, "error": false,
@ -804,7 +804,7 @@
}, },
{ {
"columns": [], "columns": [],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 8, "h": 8,
@ -1029,7 +1029,7 @@
"value": "current" "value": "current"
} }
], ],
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"fontSize": "100%", "fontSize": "100%",
"gridPos": { "gridPos": {
"h": 8, "h": 8,
@ -1117,7 +1117,7 @@
"text": "All", "text": "All",
"value": "$__all" "value": "$__all"
}, },
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "Namespace", "label": "Namespace",
@ -1140,7 +1140,7 @@
"text": "All", "text": "All",
"value": "$__all" "value": "$__all"
}, },
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "Controller Class", "label": "Controller Class",
@ -1163,7 +1163,7 @@
"text": "All", "text": "All",
"value": "$__all" "value": "$__all"
}, },
"datasource": "prometheus", "datasource": "${DS_PROMETHEUS}",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "Controller", "label": "Controller",