Skip to content

Instantly share code, notes, and snippets.

View torkelo's full-sized avatar
💭
Releasing

Torkel Ödegaard torkelo

💭
Releasing
View GitHub Profile
@torkelo
torkelo / panel
Created July 2, 2020 08:56
panel
{
"columns": [],
"datasource": "gdev-prometheus",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"mappings": [],
"thresholds": {
@torkelo
torkelo / merge.json
Created July 2, 2020 08:15
Merge issues
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@torkelo
torkelo / table merge
Created July 2, 2020 08:05
table merge
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@torkelo
torkelo / Grafana_CLA.md
Last active April 20, 2021 17:10
Grafana CLA

Grafana Labs Software Grant and Contributor License Agreement ("Agreement")

This agreement is based on the Apache Software Foundation Contributor License Agreement. (v r190612)

Thank you for your interest in software projects stewarded by Raintank, Inc. dba Grafana Labs (“Grafana Labs”). In order to clarify the intellectual property license granted with Contributions from any person or entity, Grafana Labs must have a Contributor License Agreement (CLA) on file that has been agreed to by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Grafana Labs and its users; it does not change your rights to use your own Contributions for any other purpose. This Agreement allows an individual to contribute to Grafana Labs on that individual’s own behalf, or an entity (the "Corporation") to submit Contributions to Grafana Labs, to authorize Contributions submitted by its designated employees to Grafana Labs, and to gran

@torkelo
torkelo / gist:4336aa1607cc43f63543
Created May 1, 2015 19:36
github oauth response
2015/05/01 21:35:14 [I] Completed /logout 302 Found in 881.946µs
2015/05/01 21:35:16 [I] Completed /login/github 302 Found in 65.321µs
2015/05/01 21:35:17 [T] login.OAuthLogin(Got token)
2015/05/01 21:35:17 [T] login.OAuthLogin(social login): &{10999 torkelo my_email@gmail.com }
2015/05/01 21:35:17 [I] Completed /login/github 302 Found in 1.051357345s
@torkelo
torkelo / i3config
Created September 30, 2014 05:02
i3config inspiration
# ----------------------------------------------------------------------
# file: ~/.i3/config
# author: moparx - http://moparx.com/configs
# last mod: 08/16/2014 - 10:55 EDT
# vim: set ai et fenc=utf-8 ft=config nu si sts=0 sw=4 ts=8 tw=0 :
# ----------------------------------------------------------------------
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@torkelo
torkelo / gist:9a57ece203d56f607e9b
Created September 22, 2014 14:36
Schema change issue
// Old schema
pulldowns: [
{
type: 'filtering',
enable: true
},
{
type: 'annotations',
enable: true,
annotations: [{name: 'old'}]
@torkelo
torkelo / nginx.conf
Created September 9, 2014 12:53
OpenTSDB nginx
daemon off;
user www-data;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
var influx = require('influx');
var client = influx('localhost', 8086, 'root', 'root', 'site');
var data = {};
setInterval(function() {
randomWalk('request_count', 1000, 100);
randomWalk('request_count2', 1000, 100);
randomWalk('request_count3', 1000, 100);