I hereby claim:
- I am graphaelli on github.
- I am gilad (https://keybase.io/gilad) on keybase.
- I have a public key ASCnetPoqSZtXSmLezuo9vdWsU7-G8XyqDECfQXKfqbeFwo
To claim this, I am signing this object:
#!/usr/bin/env python | |
import json | |
def dump(fields, pfx=None): | |
if pfx is None: | |
pfx = [] | |
for field, attribs in sorted(fields.items()): | |
if 'properties' in attribs: | |
dump(attribs['properties'], pfx + [field]) |
#!/usr/bin/env python | |
import timeit | |
import json | |
args = dict(ensure_ascii=False) | |
def dump_and_write(obj, fp): |
// +build linux,cgo darwin,cgo | |
package main | |
import "C" | |
import ( | |
"fmt" | |
"strconv" | |
) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash -ex | |
if [ -z "$4" ]; then | |
echo "usage: $0 <cloud_id> <es_pass> <apm_secret_token> <apm_server_url>" | |
exit 1 | |
fi | |
CLOUD_ID=$1 | |
ES_PASS=$2 | |
APM_SECRET_TOKEN=$3 |
#!/Users/gil/.venv/ipy/bin/python | |
import io | |
import hashlib | |
import os | |
import requests | |
VERSIONS = ["6.0", "6.1", "6.2", "6.3", "6.4", "6.5", "6.6", "6.7", "6.8", "7.0", "7.1", "7.x"] |
apm-go-load-gen |
#!/usr/bin/env python | |
import json | |
import requests | |
def main(): | |
rsp = requests.get("http://localhost:9200/.monitoring-beats*/_search?sort=timestamp:desc", headers={"Accept": "application/json"}) | |
rsp.raise_for_status() | |
hits = rsp.json()['hits']['hits'] |
diff --git a/vendor/go.elastic.co/apm/module/apmhttp/handler.go b/vendor/go.elastic.co/apm/module/apmhttp/handler.go | |
index 2614c2c4..169d2fe5 100644 | |
--- a/vendor/go.elastic.co/apm/module/apmhttp/handler.go | |
+++ b/vendor/go.elastic.co/apm/module/apmhttp/handler.go | |
@@ -2,6 +2,8 @@ package apmhttp | |
import ( | |
"context" | |
+ "log" | |
+ "runtime/debug" |
#!/usr/bin/env ipython | |
import json | |
import urllib | |
import requests | |
policy = { | |
"policy": { |