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
{ | |
"id": null, | |
"title": "usage accounting", | |
"originalTitle": "usage accounting", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"hideControls": false, | |
"sharedCrosshair": false, |
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
root@ziggurat:~# find /opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/ /opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9250-local/ | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/ | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_connections | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_connections/LAST_ACK.wsp | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_connections/SYN_RECV.wsp | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_connections/CLOSED.wsp | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_connections/TIME_WAIT.wsp | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_connections/FIN_WAIT1.wsp | |
/opt/graphite/storage/whisper/collectd/ops/monitoring/ziggurat/tcpconns/9200-local/tcp_conn |
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
[6398] 23 May 16:51:29.640 * 1 changes in 900 seconds. Saving... | |
[6398] 23 May 16:51:29.643 * Background saving started by pid 26398 | |
[26398] 23 May 16:51:29.964 * DB saved on disk | |
[26398] 23 May 16:51:29.966 * RDB: 1 MB of memory used by copy-on-write | |
[6398] 23 May 16:51:30.043 * Background saving terminated with success | |
[6398] 23 May 16:56:31.053 * 10 changes in 300 seconds. Saving... | |
[6398] 23 May 16:56:31.056 * Background saving started by pid 27091 | |
[27091] 23 May 16:56:31.368 * DB saved on disk | |
[27091] 23 May 16:56:31.370 * RDB: 1 MB of memory used by copy-on-write | |
[6398] 23 May 16:56:31.457 * Background saving terminated with success |
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
goroutine profile: total 429 | |
1 @ 0x701e08 0x701be3 0x6fd514 0x5035de 0x5037f0 0x4d0f2a 0x4d28dd 0x4d335e 0x4cfc8e 0x4648a1 | |
# 0x701e08 runtime/pprof.writeRuntimeProfile+0xb8 /usr/local/go/src/runtime/pprof/pprof.go:545 | |
# 0x701be3 runtime/pprof.writeGoroutine+0x93 /usr/local/go/src/runtime/pprof/pprof.go:507 | |
# 0x6fd514 runtime/pprof.(*Profile).WriteTo+0xd4 /usr/local/go/src/runtime/pprof/pprof.go:236 | |
# 0x5035de net/http/pprof.handler.ServeHTTP+0x37e /usr/local/go/src/net/http/pprof/pprof.go:210 | |
# 0x5037f0 net/http/pprof.Index+0x200 /usr/local/go/src/net/http/pprof/pprof.go:222 | |
# 0x4d0f2a net/http.HandlerFunc.ServeHTTP+0x3a /usr/local/go/src/net/http/server.go:1618 | |
# 0x4d28dd net/http.(*ServeMux).ServeHTTP+0x17d /usr/local/go/src/net/http/server.go:1910 | |
# 0x4d335e net/http.serverHandler.ServeHTTP+0x19e /usr/local/go/src/net/http/server.go:2081 |
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
// if you need to query a metric-tank, bypassing graphite | |
// just point grafana to this, and have this add in the org-id of your choice | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"net/http" | |
"net/http/httputil" | |
"net/url" |
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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"net/http" | |
"github.com/raintank/raintank-metric/msg" | |
"github.com/raintank/raintank-metric/schema" | |
) |
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
#!/bin/sh | |
basepath=github.com/raintank/raintank-metric/ | |
function packagesUsed() { | |
go list -f '{{join .Deps "\n"}}' ./... | sort -u | |
} | |
function packagesChanged() { | |
git diff-tree --name-only -r HEAD 'HEAD^' | xargs dirname | sort -u | sed "s#^#$basepath#" |
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
post/my_favorite_bash_tricks/index.html | |
124: <time class="entry-date" datetime="2007-03-14 23:38:54 -0400 EDT"> | |
213: <time class="entry-date" datetime="2007-03-14 23:38:54 -0400 EDT">@date</time> | |
post/practical-fault-detection-alerting-dont-need-to-be-data-scientist/index.html | |
124: <time class="entry-date" datetime="2015-01-29 09:08:02 -0400 -0400"> | |
319: <time class="entry-date" datetime="2015-01-29 09:08:02 -0400 -0400">@date</time> | |
post/histogram-statsd-graphing-over-time-with-graphite/index.html | |
124: <time class="entry-date" datetime="2012-11-07 18:45:11 -0400 -0400"> |
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
[counters] | |
pattern = \.counter$ | |
xFilesFactor = 0.5 | |
aggregationMethod = last |
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
~/g/s/g/r/raintank-metric ❯❯❯ govendor list -v | |
v github.com/nsqio/go-nsq ::/vendor/github.com/nsqio/go-nsq | |
├── v github.com/raintank/raintank-metric/vendor/github.com/nsqio/go-nsq | |
├── l github.com/raintank/raintank-metric/app | |
├── pl github.com/raintank/raintank-metric/fake_metrics_to_nsq | |
├── l github.com/raintank/raintank-metric/instrumented_nsq | |
├── pl github.com/raintank/raintank-metric/metric_tank | |
├── l github.com/raintank/raintank-metric/metric_tank/mdata | |
├── pl github.com/raintank/raintank-metric/nsq_metricpersist_to_stdout | |
├── pl github.com/raintank/raintank-metric/nsq_metrics_to_stdout |