Skip to content

Instantly share code, notes, and snippets.

Andrey Sidorov qw1mb0

Block or report user

Report or block qw1mb0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View grafana interval_rv vars.patch
--- 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 @@
+ const intervalForRangeVectors = Math.max(kbn.interval_to_seconds(this.interval) * 2, interval);
+ scopedVars = Object.assign({}, scopedVars, {
+ __interval_rv: { text: intervalForRangeVectors + 's', value: intervalForRangeVectors + 's' },
+ });
View Nodes ping.json
"annotations": {
"list": [
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
View kube-ingress-completed
apiVersion: v1
kind: Namespace
name: kube-nginx-ingress
kind: ClusterRole
name: ingress
View kube-lego-completed
apiVersion: v1
kind: Namespace
name: kube-lego
apiVersion: v1
name: kube-lego
namespace: kube-lego
"""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.
You can’t perform that action at this time.