Papers
Books
var https = require('https'); | |
var API_KEY = 'YOUR_API_KEY_HERE'; | |
var d = new Date(); | |
var n = d.getTime(); | |
console.log( "date is : " + d ); | |
console.log( "time is : " + n ); |
from statsd import statsd | |
while True: | |
import time; time.sleep(1) | |
statsd.increment('test.counter', 1) | |
statsd.gauge('test.gauge', 1) |
[elff] | |
name=Enterprise Linux Fast Forward 5 - $basearch | |
baseurl=http://rbel.frameos.org/stable/el5/$basearch | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ELFF | |
[elff-debuginfo] | |
name=Enterprise Linux Fast Forward 5 - $basearch - Debug | |
baseurl=http://rbel.frameos.org/stable/el5/$basearch/debug |
diff --git a/config.py b/config.py | |
index 870b72f..4298319 100644 | |
--- a/config.py | |
+++ b/config.py | |
@@ -2,6 +2,7 @@ import ConfigParser | |
import os | |
import logging | |
import logging.config | |
+import imp | |
import platform |
url=https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz | |
out=go.tar.gz | |
wget -O $out $url | |
sudo mkdir -p /usr/local/ | |
sudo tar zxfv $out -C /usr/local/ | |
echo '' >> ~/.bashrc | |
echo 'export PATH=$PATH:/usr/local/go/bin/' >> ~/.bashrc | |
echo '' | |
echo "reload your env to get GOPATH. Profiling instructions here: https://golang.org/pkg/net/http/pprof/" |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x4e3777] | |
goroutine 75260 [running]: | |
github.com/DataDog/dd-go/trace/dogtrace.closeChildAndAppend(0xc2238df5f0, 0xc22e3b9d40) | |
/home/jenkins/workspace/lamar-prod/src/github.com/DataDog/dd-go/trace/dogtrace/span.go:76 +0x282 | |
github.com/DataDog/dd-go/trace/dogtrace.(*Span).Layer(0xc2238df5f0, 0xbc11d0, 0x6, 0xc217bc5ba8) | |
/home/jenkins/workspace/lamar-prod/src/github.com/DataDog/dd-go/trace/dogtrace/span.go:91 +0xf4 | |
main.(*Lamar).GetActiveContexts(0xc2080bc700, 0xc2238df5f0, 0x1b4b, 0x1d9204b, 0x56451b1c, 0x56452350, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/jenkins/workspace/lamar-prod/src/github.com/DataDog/dd-go/apps/lamar/core.go:119 +0x31f |
https://meetings.webex.com/collabs/meetings/join?uuid=M2PIP2E2WX4UHWZENIOGYAOJ7E-SVEP |
# | |
# If you wna to copy headers directly onto tags as spans, there's a short hand method | |
# that works via configuration. | |
# | |
Datadog.configure do |c| | |
c.use :rack, headers: { | |
request: [ | |
'x-customer-mobile-screen', | |
'x-customer-mobile-userflow' |
import argparse | |
from collections import defaultdict | |
import os | |
import sys | |
import time | |
import requests | |
import json |