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
"""Utilities to get a password and/or the current user name. | |
getpass(prompt[, stream]) - Prompt for a password, with echo turned off. | |
getuser() - Get the user name from the environment or password database. | |
GetPassWarning - This UserWarning is issued when getpass() cannot prevent | |
echoing of the password contents while reading. | |
On Windows, the msvcrt module will be used. | |
On the Mac EasyDialogs.AskPassword is used, if available. |
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: kube-lego | |
--- | |
apiVersion: v1 | |
metadata: | |
name: kube-lego | |
namespace: kube-lego | |
data: |
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: kube-nginx-ingress | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRole | |
metadata: | |
name: ingress | |
rules: |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
--- a/public/app/plugins/datasource/prometheus/datasource.ts 2018-12-10 17:08:32.000000000 +0300 | |
+++ b/public/app/plugins/datasource/prometheus/datasource.ts 2018-12-10 19:03:15.791337923 +0300 | |
@@ -235,6 +235,10 @@ | |
...this.getRangeScopedVars(), | |
}); | |
} | |
+ const intervalForRangeVectors = Math.max(kbn.interval_to_seconds(this.interval) * 2, interval); | |
+ scopedVars = Object.assign({}, scopedVars, { | |
+ __interval_rv: { text: intervalForRangeVectors + 's', value: intervalForRangeVectors + 's' }, | |
+ }); |