Skip to content

Instantly share code, notes, and snippets.

@woodsaj
Created September 18, 2017 10:11
Show Gist options
  • Save woodsaj/1e84913237df03e7705844d3e4748743 to your computer and use it in GitHub Desktop.
Save woodsaj/1e84913237df03e7705844d3e4748743 to your computer and use it in GitHub Desktop.
tsdb-gw panic
fatal error: concurrent map iteration and map write
2017/09/17 17:40:37 [I] graphiteProxy: request to graphite-17303-medium-wix:8080 failed, will retry: context canceled
goroutine 21921 [running]:
runtime.throw(0x9ad065, 0x26)
/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc4206a29e0 sp=0xc4206a29c0
runtime.mapiternext(0xc4206a2ba0)
/usr/local/go/src/runtime/hashmap.go:737 +0x7ee fp=0xc4206a2a90 sp=0xc4206a29e0
runtime.mapiterinit(0x958d80, 0xc421196030, 0xc4206a2ba0)
/usr/local/go/src/runtime/hashmap.go:727 +0x2b3 fp=0xc4206a2ae8 sp=0xc4206a2a90
net/http.Header.sortedKeyValues(0xc421196030, 0xc42002d200, 0xc429d89180, 0x7ff23f88e438, 0xc429d89180, 0x1)
/usr/local/go/src/net/http/header.go:135 +0x13f fp=0xc4206a2c10 sp=0xc4206a2ae8
net/http.Header.WriteSubset(0xc421196030, 0xc12c40, 0xc429d89180, 0xc42002d200, 0x0, 0x1)
/usr/local/go/src/net/http/header.go:152 +0xbe fp=0xc4206a2d48 sp=0xc4206a2c10
net/http.(*Request).write(0xc420e06d00, 0xc12c40, 0xc429d89180, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:577 +0x580 fp=0xc4206a2e88 sp=0xc4206a2d48
net/http.(*persistConn).writeLoop(0xc4289aec60)
/usr/local/go/src/net/http/transport.go:1707 +0x1ad fp=0xc4206a2fd8 sp=0xc4206a2e88
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4206a2fe0 sp=0xc4206a2fd8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 1 [chan receive, 1 minutes]:
main.main()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/main.go:139 +0x753
goroutine 5 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41
goroutine 7 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/raintank/worldping-api/pkg/log.(*Logger).StartLogger(0xc42015dec0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/worldping-api/pkg/log/log.go:234 +0x2a7
created by github.com/raintank/tsdb-gw/vendor/github.com/raintank/worldping-api/pkg/log.newLogger
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/worldping-api/pkg/log/log.go:167 +0x11f
goroutine 8 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats.(*Graphite).writer(0xc4201c1800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats/out_graphite.go:103 +0x159
created by github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats.NewGraphite
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats/out_graphite.go:48 +0x2b2
goroutine 9 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats.(*Graphite).reporter(0xc4201c1800, 0xa)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats/out_graphite.go:54 +0x9c
created by github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats.NewGraphite
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats/out_graphite.go:49 +0x2e1
goroutine 33 [select]:
github.com/raintank/tsdb-gw/usage.(*TsdbUsage).process(0xc42029a2a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/usage/usage.go:85 +0x5b3
created by github.com/raintank/tsdb-gw/usage.Init
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/usage/usage.go:55 +0x225
goroutine 17 [sleep]:
time.Sleep(0x2540946f3)
/usr/local/go/src/runtime/time.go:59 +0xf9
github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats.tick.func1(0x2540be400, 0xc420282000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats/tick.go:14 +0xd2
created by github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats.tick
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/raintank/metrictank/stats/tick.go:22 +0x67
goroutine 34 [IO wait]:
net.runtime_pollWait(0x7ff23fa70cb0, 0x77, 0x9)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42933be98, 0x77, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitWrite(0xc42933be98, 0xc42c5b124f, 0x9)
/usr/local/go/src/net/fd_poll_runtime.go:84 +0x34
net.(*netFD).Write(0xc42933be30, 0xc42c5b1230, 0x28, 0x30, 0x1f, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:340 +0x34d
net.(*conn).Write(0xc427586e30, 0xc42c5b1230, 0x28, 0x30, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:193 +0x70
github.com/raintank/tsdb-gw/usage.(*TsdbUsage).flush(0xc42029a2a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/usage/usage.go:135 +0x2a7
created by github.com/raintank/tsdb-gw/usage.Init
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/usage/usage.go:56 +0x249
goroutine 40 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/uber/jaeger-client-go.(*remoteReporter).processQueue(0xc42029a780)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/uber/jaeger-client-go/reporter.go:231 +0x324
created by github.com/raintank/tsdb-gw/vendor/github.com/uber/jaeger-client-go.NewRemoteReporter
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/uber/jaeger-client-go/reporter.go:201 +0x288
goroutine 47 [select, 1 minutes]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*client).backgroundMetadataUpdater(0xc42029c880)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/client.go:606 +0x2c7
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*client).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.backgroundMetadataUpdater)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/client.go:157 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4203620f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.NewClient
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/client.go:157 +0x691
goroutine 12874 [select]:
net/http.(*persistConn).writeLoop(0xc428adc5a0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 45 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/rcrowley/go-metrics.(*meterArbiter).tick(0xc50980)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/rcrowley/go-metrics/meter.go:221 +0x4c
created by github.com/raintank/tsdb-gw/vendor/github.com/rcrowley/go-metrics.NewMeter
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/rcrowley/go-metrics/meter.go:40 +0x127
goroutine 50 [chan receive, 1 minutes]:
github.com/raintank/tsdb-gw/carbon.(*Carbon).handleConn.func2(0xc42066e1e0, 0xc1dca0, 0xc420664028)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:167 +0x40
created by github.com/raintank/tsdb-gw/carbon.(*Carbon).handleConn
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:169 +0x112
goroutine 526 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5d2c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 46 [chan receive, 1 minutes]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c42c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:484 +0xfa
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4202a2af0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 48 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).dispatcher(0xc4202a69a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:232 +0xef
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatcher)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:98 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420362120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.NewAsyncProducerFromClient
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:98 +0x2c5
goroutine 65 [chan receive, 1 minutes]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).retryHandler(0xc4202a69a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:785 +0xd2
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.retryHandler)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:99 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420362130)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.NewAsyncProducerFromClient
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:99 +0x31f
goroutine 66 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).handleSuccesses(0xc42036cc40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:146 +0x8a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.handleSuccesses)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:76 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420362140)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.newSyncProducerFromAsyncProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:76 +0xc7
goroutine 67 [chan receive, 1 minutes]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).handleErrors(0xc42036cc40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:154 +0x8a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.handleErrors)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:77 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420362150)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.newSyncProducerFromAsyncProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:77 +0x121
goroutine 68 [select, 1 minutes, locked to thread]:
runtime.gopark(0x9b9ea0, 0x0, 0x998306, 0x6, 0x18, 0x2)
/usr/local/go/src/runtime/proc.go:271 +0x13a
runtime.selectgoImpl(0xc42008af50, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:423 +0x1364
runtime.selectgo(0xc42008af50)
/usr/local/go/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal_unix.go:434 +0x2dd
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1
goroutine 70 [IO wait]:
net.runtime_pollWait(0x7ff23fa70fb0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4202a6a78, 0x72, 0x0, 0xc431f62000)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4202a6a78, 0xffffffffffffffff, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).accept(0xc4202a6a10, 0x0, 0xc14e00, 0xc431f62000)
/usr/local/go/src/net/fd_unix.go:430 +0x1e5
net.(*TCPListener).accept(0xc4202a8090, 0xc420085d40, 0x6c3ace, 0x4535f0)
/usr/local/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc4202a8090, 0x9b98c0, 0xc433a42000, 0xc1aa00, 0xc4203980c0)
/usr/local/go/src/net/tcpsock.go:228 +0x49
net/http.(*Server).Serve(0xc420394000, 0xc19ec0, 0xc4202a8090, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2643 +0x228
github.com/raintank/tsdb-gw/api.InitApi.func1(0xc420354db0, 0xc420362260, 0xc420394000, 0xc19ec0, 0xc4202a8090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/api.go:73 +0x49d
created by github.com/raintank/tsdb-gw/api.InitApi
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/api.go:79 +0x426
goroutine 122 [IO wait, 1 minutes]:
net.runtime_pollWait(0x7ff23fa70e30, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420678228, 0x72, 0x0, 0xc420662300)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420678228, 0xffffffffffffffff, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).accept(0xc4206781c0, 0x0, 0xc14e00, 0xc420662300)
/usr/local/go/src/net/fd_unix.go:430 +0x1e5
net.(*TCPListener).accept(0xc420664020, 0x1, 0xc420298f40, 0x40f3a8)
/usr/local/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc420664020, 0xc4202a2020, 0xc42066e240, 0x1, 0x1)
/usr/local/go/src/net/tcpsock.go:228 +0x49
github.com/raintank/tsdb-gw/carbon.(*Carbon).listen(0xc42029ba40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:136 +0xf9
created by github.com/raintank/tsdb-gw/carbon.InitCarbon
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:103 +0x574
goroutine 123 [IO wait, 1 minutes]:
net.runtime_pollWait(0x7ff23fa70d70, 0x72, 0x8)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420678298, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420678298, 0xc4201b1000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420678230, 0xc4201b1000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420664028, 0xc4201b1000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
bufio.(*Reader).fill(0xc4201ecef8)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).ReadSlice(0xc4201ecef8, 0xc4201b100a, 0x7ff23facfc90, 0x40bd01, 0x101000000c6d3f8, 0x0, 0x1000)
/usr/local/go/src/bufio/bufio.go:338 +0xbb
bufio.(*Reader).ReadBytes(0xc4201ecef8, 0xa, 0x0, 0xc4201b1000, 0x1000, 0x1000, 0x0)
/usr/local/go/src/bufio/bufio.go:416 +0x66
github.com/raintank/tsdb-gw/carbon.(*Carbon).handleConn(0xc42029ba40, 0xc1dca0, 0xc420664028, 0xc42066e1e0, 0xc42029ba60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:176 +0x1c7
created by github.com/raintank/tsdb-gw/carbon.InitCarbon
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:108 +0x5eb
goroutine 124 [select]:
github.com/raintank/tsdb-gw/carbon.(*Carbon).flush(0xc42029ba40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:207 +0x896
created by github.com/raintank/tsdb-gw/carbon.InitCarbon
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/carbon/carbon.go:112 +0x63b
goroutine 125 [chan receive, 1 minutes]:
main.handleShutdown(0xc42029b200, 0xc42029b080, 0xc420662280, 0x2, 0x2)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/main.go:147 +0x44
created by main.main
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/main.go:137 +0x72d
goroutine 1239 [select]:
net/http.(*persistConn).roundTrip(0xc42101afc0, 0xc4207a8480, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420bd3e00, 0xc42119e100, 0x8cf340, 0xc42038f228)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420bd3e00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4200cd1d0, 0xc420bd3a00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42038f0d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4207a8360, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4207a8360, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4207a81e0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4207a81e0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42038f0d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4207a82e0, 0x1, 0x1, 0xc42038f0d0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4207a82e0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4207a81e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4207a81e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42038ee30, 0x1, 0x1, 0xc420eb8fc0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4207a81e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4207a81e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc420eb8fc0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4207a8200, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420bf1a38, 0x760000c420bc0930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4207a81e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4207a81e0, 0x9082e0, 0x9b9438, 0xc420bc09b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4210d5080)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420eb8fc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4200cd080, 0xc420bd3900, 0xc4200cd0b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4200cd080, 0xc420bd3900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4200cd080, 0xc420bd3900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42030b5e0, 0xc420bd3900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42030b5e0, 0xc420bd3900)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42030b5e0, 0xc420bd3900)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420a12f00, 0xc1a940, 0xc420e27d80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 524 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5d0e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6930)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 9857 [IO wait]:
net.runtime_pollWait(0x7ff23f857418, 0x72, 0x60)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42144a6f8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42144a6f8, 0xc420c2b011, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42144a690, 0xc420c2b011, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c213d0, 0xc420c2b011, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420c2b000)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 14099 [select]:
net/http.(*persistConn).writeLoop(0xc424268240)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 515 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5c9c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f68a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 345 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).run(0xc420cee480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:587 +0xbd9
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.run)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4200d60c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x29b
goroutine 1197 [select]:
net/http.(*persistConn).writeLoop(0xc42101afc0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 548 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3cd80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912c50)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 549 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3ce40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912c60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 14247 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba9c0, 0x72, 0xb2)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210c12c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210c12c8, 0xc4229f8000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210c1260, 0xc4229f8000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc427308050, 0xc4229f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421aae480, 0xc4229f8000, 0x1000, 0x1000, 0xc42062e000, 0x6450780a0099cabf, 0xc420d21b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4288e4fc0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4288e4fc0, 0x1, 0xc427462780, 0xc420fe4c80, 0xc427462501, 0x60, 0xc420fe4c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421aae480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10497 [IO wait]:
net.runtime_pollWait(0x7ff23f891f00, 0x72, 0x4f)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201c7e28, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201c7e28, 0xc4229b4000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201c7dc0, 0xc4229b4000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420665718, 0xc4229b4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421aae240, 0xc4229b4000, 0x1000, 0x1000, 0x0, 0x401903, 0xc421317b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42295d080)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42295d080, 0x1, 0xc42295d200, 0xc420bfec80, 0xc4229b0201, 0x60, 0xc420bfec60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421aae240)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 513 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5c840)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6880)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 525 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5d200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6940)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 9329 [select]:
net/http.(*persistConn).writeLoop(0xc4206a7b00)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 21897 [IO wait]:
net.runtime_pollWait(0x7ff23fa70530, 0x72, 0x31)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc427cee1b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc427cee1b8, 0xc42d61ef51, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc427cee150, 0xc42d61ef51, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42234ab80, 0xc42d61ef51, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42d61ef40)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9290 [IO wait]:
net.runtime_pollWait(0x7ff23f85dea0, 0x72, 0x61)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210d4298, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210d4298, 0xc4209d2511, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210d4230, 0xc4209d2511, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a340d0, 0xc4209d2511, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4209d2500)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 521 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 10593 [select]:
net/http.(*persistConn).roundTrip(0xc421cbf200, 0xc42296fa20, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4211daf00, 0xc422a68300, 0x8cf340, 0xc4229d70f8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4211daf00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc422a64360, 0xc4211dab00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4229d6f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42296f980, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42296f980, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42296f820, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296f820, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4229d6f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42296f900, 0x1, 0x1, 0xc4229d6f30, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42296f900, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42296f820, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296f820, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4229d6cc0, 0x1, 0x1, 0xc4228bd290, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42296f820, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296f820, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4228bd290, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42296f840, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422968f38, 0xa0000c4225ab930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42296f820, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296f820, 0x9082e0, 0x9b9438, 0xc4225ab9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420ff1010)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bd290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc422a64240, 0xc422a6e300, 0xc422a64270)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc422a64240, 0xc422a6e300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc422a64240, 0xc422a6e300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4212ac8c0, 0xc422a6e300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4212ac8c0, 0xc422a6e300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4212ac8c0, 0xc422a6e300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420a4db80, 0xc1a940, 0xc422a4ca40)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 258 [IO wait]:
net.runtime_pollWait(0x7ff23f856680, 0x72, 0x1b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420094148, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420094148, 0xc420a08800, 0x400)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4200940e0, 0xc420a08800, 0x400, 0x400, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a60010, 0xc420a08800, 0x400, 0x400, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
crypto/tls.(*block).readFromUntil(0xc4203024e0, 0x7ff23fa2c198, 0xc420a60010, 0x5, 0xc420a60010, 0x28)
/usr/local/go/src/crypto/tls/conn.go:488 +0x98
crypto/tls.(*Conn).readRecord(0xc420b00000, 0x9b9f17, 0xc420b00120, 0x452e90)
/usr/local/go/src/crypto/tls/conn.go:590 +0xc4
crypto/tls.(*Conn).Read(0xc420b00000, 0xc4206f2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1134 +0x11d
net/http.(*persistConn).Read(0xc4209f0a20, 0xc4206f2000, 0x1000, 0x1000, 0x5, 0x450fd0, 0xc420a5d980)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420a87800)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420a87800, 0x1, 0xc420afabe5, 0x1, 0x0, 0xc42081b260, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4209f0a20)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 278 [IO wait]:
net.runtime_pollWait(0x7ff23f8565c0, 0x72, 0x1c)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4206780d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4206780d8, 0xc4209bcc00, 0x400)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420678070, 0xc4209bcc00, 0x400, 0x400, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4202a8010, 0xc4209bcc00, 0x400, 0x400, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
crypto/tls.(*block).readFromUntil(0xc4203987b0, 0x7ff23fa2c198, 0xc4202a8010, 0x5, 0xc4202a8010, 0x28)
/usr/local/go/src/crypto/tls/conn.go:488 +0x98
crypto/tls.(*Conn).readRecord(0xc420a1e380, 0x9b9f17, 0xc420a1e4a0, 0x452e90)
/usr/local/go/src/crypto/tls/conn.go:590 +0xc4
crypto/tls.(*Conn).Read(0xc420a1e380, 0xc4206ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1134 +0x11d
net/http.(*persistConn).Read(0xc4206a6b40, 0xc4206ee000, 0x1000, 0x1000, 0x5, 0x450fd0, 0xc420a7f200)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420a5d800)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420a5d800, 0x1, 0xc420afcbe5, 0x1, 0x0, 0xc421077da0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4206a6b40)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 523 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5d020)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6920)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 9219 [IO wait]:
net.runtime_pollWait(0x7ff23f85d960, 0x72, 0x68)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201c8fb8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201c8fb8, 0xc420d98000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201c8f50, 0xc420d98000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420846108, 0xc420d98000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420dd1e60, 0xc420d98000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42029bc20)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42029baa0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42029baa0, 0x1, 0xc4209c5be5, 0x1, 0x0, 0xc420c47200, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420dd1e60)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 343 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).run(0xc420cee300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:587 +0xbd9
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.run)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4200d60a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x29b
goroutine 344 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).sendAndReceive(0xc4202c4b00, 0xc1be40, 0xc422134180, 0xc13780, 0xc422134340, 0x5000104, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:426 +0x1ac
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Produce(0xc4202c4b00, 0xc422134180, 0xc4355a9f98, 0x1, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:246 +0x101
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:544 +0xa8
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4209080a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:553 +0x32a
goroutine 514 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5c900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6890)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 493 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c4420)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:484 +0xfa
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208e3700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 279 [select]:
net/http.(*persistConn).writeLoop(0xc4206a6b40)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 552 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d080)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912c90)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 550 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3cf00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912c70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 9998 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2ca0, 0x72, 0x85)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42144b418, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42144b418, 0xc420a47a11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42144b3b0, 0xc420a47a11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c21498, 0xc420a47a11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420a47a00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 259 [select]:
net/http.(*persistConn).writeLoop(0xc4209f0a20)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 516 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cae0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f68b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 519 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cd20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f68e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 890 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc421077080)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4202b3750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 522 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cf60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6910)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 10015 [IO wait]:
net.runtime_pollWait(0x7ff23f7c29a0, 0x72, 0x4b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420ff0768, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420ff0768, 0xc422966991, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420ff0700, 0xc422966991, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420665700, 0xc422966991, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422966980)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10847 [IO wait]:
net.runtime_pollWait(0x7ff23f7c22e0, 0x72, 0x13)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc422e52308, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc422e52308, 0xc422e13391, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc422e522a0, 0xc422e13391, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104fcd0, 0xc422e13391, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422e13380)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10095 [select]:
net/http.(*persistConn).roundTrip(0xc420dd1b00, 0xc421ce4f00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420f75f00, 0xc421199540, 0x8cf340, 0xc4209631f8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420f75f00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4210616e0, 0xc420f75d00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420962600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421ce4e40, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421ce4e40, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421ce4c60, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce4c60, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420962600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421ce4d60, 0x1, 0x1, 0xc420962600, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421ce4d60, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421ce4c60, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce4c60, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420962330, 0x1, 0x1, 0xc421bd2870, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421ce4c60, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce4c60, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421bd2870, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421ce4c80, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420b71a38, 0x550000c4225b9930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421ce4c60, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce4c60, 0x9082e0, 0x9b9438, 0xc4225b99b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420dc1010)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd2870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4210615c0, 0xc420f75c00, 0xc4210615f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4210615c0, 0xc420f75c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4210615c0, 0xc420f75c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421a17a40, 0xc420f75c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421a17a40, 0xc420f75c00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421a17a40, 0xc420f75c00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420b10a00, 0xc1a940, 0xc421198f80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10478 [select]:
net/http.(*persistConn).roundTrip(0xc421830480, 0xc42296e620, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4211da100, 0xc422966d80, 0x8cf340, 0xc422955708)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4211da100, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42296aa20, 0xc421bc7e00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc422955540)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42296e580, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42296e580, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42296e420, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296e420, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc422955540)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42296e500, 0x1, 0x1, 0xc422955540, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42296e500, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42296e420, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296e420, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4229552d0, 0x1, 0x1, 0xc4228bccf0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42296e420, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296e420, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4228bccf0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42296e440, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422968438, 0x900000c421317930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42296e420, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42296e420, 0x9082e0, 0x9b9438, 0xc4213179b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420ff0830)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228bccf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42296a900, 0xc421bc7d00, 0xc42296a930)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42296a900, 0xc421bc7d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42296a900, 0xc421bc7d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4212ac700, 0xc421bc7d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4212ac700, 0xc421bc7d00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4212ac700, 0xc421bc7d00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421d05400, 0xc1a940, 0xc422966a00)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 494 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c4c60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:484 +0xfa
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208e37e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 10052 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2220, 0x72, 0x92)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420d26ca8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420d26ca8, 0xc421bd0000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420d26c40, 0xc421bd0000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c20bf8, 0xc421bd0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420c11c20, 0xc421bd0000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc421c36fc0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421b552c0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421b552c0, 0x1, 0xc421cf8be5, 0x1, 0x0, 0xc422db51a0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420c11c20)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 477 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:541 +0x67
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420920060)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:553 +0x32a
goroutine 476 [runnable]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).run(0xc4200a03c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:587 +0xbd9
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.run)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208d6000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x29b
goroutine 547 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3ccc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912c30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 10290 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba600, 0x72, 0x6c)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201bb098, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201bb098, 0xc42272f000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201bb030, 0xc42272f000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000de58, 0xc42272f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421a439e0, 0xc42272f000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc421615860)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421613f20)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421613f20, 0x1, 0xc421d55be5, 0x1, 0x0, 0xc42291a960, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421a439e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 520 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cde0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f68f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 551 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3cfc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912c80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 492 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*topicProducer).dispatch(0xc420b74900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:303 +0x68
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*topicProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:298 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208e33c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newTopicProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:298 +0x224
goroutine 9372 [IO wait]:
net.runtime_pollWait(0x7ff23f856f98, 0x72, 0x4a)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc0f48, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc0f48, 0xc420e0a000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc0ee0, 0xc420e0a000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a342d0, 0xc420e0a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4209f19e0, 0xc420e0a000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc420cefd40)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4213a8f00)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4213a8f00, 0x1, 0xc421109be5, 0x1, 0x0, 0xc420c70120, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4209f19e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 518 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cc60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f68d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 10279 [select]:
net/http.(*persistConn).roundTrip(0xc421690fc0, 0xc422734ec0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421a95800, 0xc420a88280, 0x8cf340, 0xc4225c0a48)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421a95800, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4225be900, 0xc421a95400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4225c0880)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc422734e20, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc422734e20, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422734cc0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422734cc0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4225c0880)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc422734da0, 0x1, 0x1, 0xc4225c0880, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc422734da0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422734cc0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422734cc0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4225c0610, 0x1, 0x1, 0xc4226d3710, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422734cc0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422734cc0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4226d3710, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc422734ce0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421ca9778, 0x9e0000c4225bb930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422734cc0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422734cc0, 0x9082e0, 0x9b9438, 0xc4225bb9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4210d4de0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4226d3710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4225be7e0, 0xc421a95200, 0xc4225be810)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4225be7e0, 0xc421a95200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4225be7e0, 0xc421a95200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420e91c00, 0xc421a95200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420e91c00, 0xc421a95200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420e91c00, 0xc421a95200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4217e88c0, 0xc1a940, 0xc42148fdc0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10041 [select]:
net/http.(*persistConn).roundTrip(0xc420dd0360, 0xc420ad06c0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421991a00, 0xc420e0c600, 0x8cf340, 0xc42093ced8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421991a00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420781d10, 0xc421991600)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42093cd60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc420ad0440, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc420ad0440, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42093fea0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42093fea0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42093cd60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420ad0260, 0x1, 0x1, 0xc42093cd60, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420ad0260, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42093fea0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42093fea0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42093cb30, 0x1, 0x1, 0xc421bd22d0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42093fea0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42093fea0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421bd22d0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42093ff20, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420b71098, 0x880000c420d20930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42093fea0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42093fea0, 0x9082e0, 0x9b9438, 0xc420d209b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420dc0590)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd22d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420781bc0, 0xc421991400, 0xc420781bf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420781bc0, 0xc421991400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420781bc0, 0xc421991400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421a16fc0, 0xc421991400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421a16fc0, 0xc421991400)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421a16fc0, 0xc421991400)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420e97d60, 0xc1a940, 0xc420b79880)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 517 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5cba0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f68c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 553 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d140)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912ca0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 529 [runnable]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).run(0xc42066e2a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:587 +0xbd9
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.run)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420922000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x29b
goroutine 530 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:541 +0x67
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc42091c040)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:553 +0x32a
goroutine 527 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5d380)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6960)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 528 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420a5d440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208f6970)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 545 [runnable]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).run(0xc420c3c180)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:587 +0xbd9
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.run)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x29b
goroutine 546 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:541 +0x67
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc42090e040)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:553 +0x32a
goroutine 478 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c4840)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:484 +0xfa
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4208d6580)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 554 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912cb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 555 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d2c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912cc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 556 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d380)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912cd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 557 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912ce0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 558 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 596 [IO wait]:
net.runtime_pollWait(0x7ff23f855cc0, 0x72, 0x22)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420befb88, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420befb88, 0xc420c42000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420befb20, 0xc420c42000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c40000, 0xc420c42000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
bufio.(*Reader).Read(0xc420d681e0, 0xc4203422a0, 0x8, 0x8, 0xed150aab3, 0xc4353d765e, 0xc50ba0)
/usr/local/go/src/bufio/bufio.go:213 +0x312
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*bufConn).Read(0xc42086a160, 0xc4203422a0, 0x8, 0x8, 0x0, 0xc4353d765e, 0xc50ba0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:110 +0x4d
io.ReadAtLeast(0x7ff23fa2c438, 0xc42086a160, 0xc4203422a0, 0x8, 0x8, 0x8, 0x94a0c0, 0x0, 0x7ff23fa2c438)
/usr/local/go/src/io/io.go:307 +0xa9
io.ReadFull(0x7ff23fa2c438, 0xc42086a160, 0xc4203422a0, 0x8, 0x8, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:325 +0x58
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c49a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:497 +0x32b
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420342290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 559 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d5c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 560 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc420c3d680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420912d10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 346 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).sendAndReceive(0xc4202c49a0, 0xc1be40, 0xc421e98160, 0xc13780, 0xc421e982c0, 0x6000103, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:426 +0x1ac
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Produce(0xc4202c49a0, 0xc421e98160, 0xc431ceff98, 0x1, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:246 +0x101
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:544 +0xa8
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4209080e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:553 +0x32a
goroutine 593 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).run(0xc420702120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:587 +0xbd9
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*brokerProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.run)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420342050)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:537 +0x29b
goroutine 594 [select]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).sendAndReceive(0xc4202c4580, 0xc1be40, 0xc421ce4780, 0xc13780, 0xc421ce48e0, 0x4000105, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:426 +0x1ac
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Produce(0xc4202c4580, 0xc421ce4780, 0xc42f3b9f98, 0x1, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:246 +0x101
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:544 +0xa8
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc420340060)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:553 +0x32a
goroutine 595 [IO wait]:
net.runtime_pollWait(0x7ff23fa70a70, 0x72, 0xf)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420b180d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420b180d8, 0xc420a36000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420b18070, 0xc420a36000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a34010, 0xc420a36000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
bufio.(*Reader).Read(0xc420702180, 0xc420342168, 0x8, 0x8, 0xed150aab3, 0xc43546d8ef, 0xc50ba0)
/usr/local/go/src/bufio/bufio.go:213 +0x312
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*bufConn).Read(0xc420340120, 0xc420342168, 0x8, 0x8, 0x0, 0xc43546d8ef, 0xc50ba0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:110 +0x4d
io.ReadAtLeast(0x7ff23fa2c438, 0xc420340120, 0xc420342168, 0x8, 0x8, 0x8, 0x94a0c0, 0x0, 0x7ff23fa2c438)
/usr/local/go/src/io/io.go:307 +0xa9
io.ReadFull(0x7ff23fa2c438, 0xc420340120, 0xc420342168, 0x8, 0x8, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:325 +0x58
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c4b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:497 +0x32b
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4203421a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 597 [IO wait]:
net.runtime_pollWait(0x7ff23f855b40, 0x72, 0x24)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420094848, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420094848, 0xc420a37000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4200947e0, 0xc420a37000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a34018, 0xc420a37000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
bufio.(*Reader).Read(0xc4207025a0, 0xc420342388, 0x8, 0x8, 0xed150aab3, 0xc4353f1491, 0xc50ba0)
/usr/local/go/src/bufio/bufio.go:213 +0x312
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*bufConn).Read(0xc420340800, 0xc420342388, 0x8, 0x8, 0x0, 0xc4353f1491, 0xc50ba0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:110 +0x4d
io.ReadAtLeast(0x7ff23fa2c438, 0xc420340800, 0xc420342388, 0x8, 0x8, 0x8, 0x94a0c0, 0x0, 0x7ff23fa2c438)
/usr/local/go/src/io/io.go:307 +0xa9
io.ReadFull(0x7ff23fa2c438, 0xc420340800, 0xc420342388, 0x8, 0x8, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:325 +0x58
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver(0xc4202c4580)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:497 +0x32b
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.responseReceiver)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4203423c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*Broker).Open.func1
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/broker.go:148 +0x910
goroutine 7727 [select]:
net/http.(*persistConn).roundTrip(0xc420dd1e60, 0xc4202b0f00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420f90d00, 0xc420c2af40, 0x8cf340, 0xc42077cf08)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420f90d00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421452900, 0xc420f90b00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42077cd90)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4202b0e20, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4202b0e20, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4202b0c00, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b0c00, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42077cd90)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4202b0d40, 0x1, 0x1, 0xc42077cd90, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4202b0d40, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4202b0c00, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b0c00, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42077cad0, 0x1, 0x1, 0xc421bc42d0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4202b0c00, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b0c00, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421bc42d0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4202b0c20, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421ca8178, 0xbe0000c4211a8930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4202b0c00, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b0c00, 0x9082e0, 0x9b9438, 0xc4211a89b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc421c88280)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc42d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4214527e0, 0xc420f90a00, 0xc421452810)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4214527e0, 0xc420f90a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4214527e0, 0xc420f90a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421cba0e0, 0xc420f90a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421cba0e0, 0xc420f90a00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421cba0e0, 0xc420f90a00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421c9e140, 0xc1a940, 0xc420c2abc0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 19064 [select]:
net/http.(*persistConn).roundTrip(0xc4270338c0, 0xc4339d28e0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc42e382000, 0xc42148f140, 0x8cf340, 0xc421f1a8e9)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc42e382000, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc430c2c900, 0xc423607d00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc421f1a760)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4339d2820, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4339d2820, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4339d26c0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4339d26c0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc421f1a760)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4339d27a0, 0x1, 0x1, 0xc421f1a760, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4339d27a0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4339d26c0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4339d26c0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc421f1a550, 0x1, 0x1, 0xc42584d170, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4339d26c0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4339d26c0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42584d170, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4339d26e0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc42f99b618, 0x1d0000c420dcb930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4339d26c0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4339d26c0, 0x9082e0, 0x9b9438, 0xc420dcb9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc42118b010)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584d170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc430c2c7e0, 0xc423607b00, 0xc430c2c810)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc430c2c7e0, 0xc423607b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc430c2c7e0, 0xc423607b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42e21a620, 0xc423607b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42e21a620, 0xc423607b00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42e21a620, 0xc423607b00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421646500, 0xc1a940, 0xc42148ec80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9780 [IO wait]:
net.runtime_pollWait(0x7ff23f857b98, 0x72, 0x54)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421699648, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421699648, 0xc420e12c51, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4216995e0, 0xc420e12c51, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a60fd8, 0xc420e12c51, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e12c40)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 13473 [IO wait]:
net.runtime_pollWait(0x7ff23f85d7e0, 0x72, 0x76)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4272bd1e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4272bd1e8, 0xc4281d77d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4272bd180, 0xc4281d77d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc425a460a8, 0xc4281d77d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4281d77c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 672 [select]:
net/http.(*persistConn).writeLoop(0xc421cbe6c0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 671 [IO wait]:
net.runtime_pollWait(0x7ff23f85d5a0, 0x72, 0x63)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42144aa08, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42144aa08, 0xc421cea000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42144a9a0, 0xc421cea000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000da50, 0xc421cea000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421cbe6c0, 0xc421cea000, 0x1000, 0x1000, 0x0, 0x401903, 0xc420714b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421b77320)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421b77320, 0x1, 0xc421b774a0, 0xc420606c80, 0xc421c59201, 0x60, 0xc420606c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421cbe6c0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 1240 [IO wait]:
net.runtime_pollWait(0x7ff23fa703b0, 0x72, 0xe)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210d4e68, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210d4e68, 0xc420e27dd1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210d4e00, 0xc420e27dd1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000c330, 0xc420e27dd1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e27dc0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 13503 [IO wait]:
net.runtime_pollWait(0x7ff23f7c23a0, 0x72, 0x84)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4217f9cd8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4217f9cd8, 0xc428b5a000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4217f9c70, 0xc428b5a000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420babfa8, 0xc428b5a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc426118480, 0xc428b5a000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc4237baea0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4237bcc00)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4237bcc00, 0x1, 0xc422149be5, 0x1, 0x0, 0xc4237bcc60, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc426118480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10120 [select]:
net/http.(*persistConn).writeLoop(0xc420b88c60)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9541 [select]:
net/http.(*persistConn).writeLoop(0xc421b890e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 8884 [select]:
net/http.(*persistConn).writeLoop(0xc420dd0480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 14140 [select]:
net/http.(*persistConn).roundTrip(0xc4219867e0, 0xc42b750960, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4261ec600, 0xc422a4d000, 0x8cf340, 0xc42827cc88)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4261ec600, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4221f63c0, 0xc4261ec400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42827cb10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42b7508a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42b7508a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42b750740, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42b750740, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42827cb10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42b750820, 0x1, 0x1, 0xc42827cb10, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42b750820, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42b750740, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42b750740, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42827c870, 0x1, 0x1, 0xc426e92cf0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42b750740, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42b750740, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc426e92cf0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42b750760, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc42d4f8438, 0xd20000c420cf7930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42b750740, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42b750740, 0x9082e0, 0x9b9438, 0xc420cf79b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4210c0440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc426e92cf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4221f62a0, 0xc4261ec300, 0xc4221f62d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4221f62a0, 0xc4261ec300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4221f62a0, 0xc4261ec300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc423fc61c0, 0xc4261ec300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc423fc61c0, 0xc4261ec300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc423fc61c0, 0xc4261ec300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42a62a140, 0xc1a940, 0xc422a4cc40)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 8579 [IO wait]:
net.runtime_pollWait(0x7ff23f856200, 0x72, 0x42)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420b19cd8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420b19cd8, 0xc4209d2b11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420b19c70, 0xc4209d2b11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c40320, 0xc4209d2b11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4209d2b00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9373 [select]:
net/http.(*persistConn).writeLoop(0xc4209f19e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 8454 [runnable]:
net/url.(*URL).Port(0xc4211e2780, 0x19, 0xc420025d17)
/usr/local/go/src/net/url/url.go:1013 +0x5b
net/http.canonicalAddr(0xc4211e2780, 0x4, 0x1)
/usr/local/go/src/net/http/transport.go:1995 +0x87
net/http.(*Transport).connectMethodForRequest(0xc49040, 0xc421e98360, 0x0, 0xc420025d10, 0x4, 0x0, 0x0, 0xc420912409, 0x756ea10a2d6351)
/usr/local/go/src/net/http/transport.go:579 +0xe8
net/http.(*Transport).RoundTrip(0xc49040, 0xc420e06d00, 0xc421198140, 0x8cf340, 0xc420912409)
/usr/local/go/src/net/http/transport.go:368 +0x4e6
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420e06d00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421196000, 0xc420e06a00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42092c390)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4208616c0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4208616c0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420861500, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420861500, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42092c390)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420861600, 0x1, 0x1, 0xc42092c390, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420861600, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420861500, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420861500, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42092c0b0, 0x1, 0x1, 0xc421337950, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420861500, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420861500, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421337950, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc420861520, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4213a29b8, 0x450000c4201ee930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420861500, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420861500, 0x9082e0, 0x9b9438, 0xc4201ee9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420162f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421337950)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4201c1e90, 0xc420e06900, 0xc4201c1ec0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4201c1e90, 0xc420e06900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4201c1e90, 0xc420e06900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42030a620, 0xc420e06900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42030a620, 0xc420e06900)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42030a620, 0xc420e06900)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420ae4000, 0xc1a940, 0xc420f8b380)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10228 [IO wait]:
net.runtime_pollWait(0x7ff23f8110c8, 0x72, 0x57)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc19c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc19c8, 0xc420287e91, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc1960, 0xc420287e91, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000dce8, 0xc420287e91, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420287e80)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9779 [select]:
net/http.(*persistConn).roundTrip(0xc421b890e0, 0xc421bb5cc0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421bc6b00, 0xc420e13080, 0x8cf340, 0xc4209634e8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421bc6b00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42167eb40, 0xc421bc6900)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420963370)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421bb5c00, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421bb5c00, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421bb5aa0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421bb5aa0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420963370)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421bb5b80, 0x1, 0x1, 0xc420963370, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421bb5b80, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421bb5aa0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421bb5aa0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420963090, 0x1, 0x1, 0xc4212ef200, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421bb5aa0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421bb5aa0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4212ef200, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421bb5ac0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421ac4858, 0x7b0000c420d24930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421bb5aa0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421bb5aa0, 0x9082e0, 0x9b9438, 0xc420d249b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc421699710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42167ea20, 0xc421bc6800, 0xc42167ea50)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42167ea20, 0xc421bc6800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42167ea20, 0xc421bc6800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421bda8c0, 0xc421bc6800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421bda8c0, 0xc421bc6800)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421bda8c0, 0xc421bc6800)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421b8f0e0, 0xc1a940, 0xc420e12c00)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 14027 [select]:
net/http.(*persistConn).roundTrip(0xc424268240, 0xc42286fa60, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc424260500, 0xc422a68e80, 0x8cf340, 0xc4242663a9)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc424260500, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc426262c90, 0xc424260300)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc424266220)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42286f9a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42286f9a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42286f840, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42286f840, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc424266220)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42286f920, 0x1, 0x1, 0xc424266220, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42286f920, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42286f840, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42286f840, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc424266010, 0x1, 0x1, 0xc429e85680, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42286f840, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42286f840, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc429e85680, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42286f860, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4257a7cf8, 0xe0000c421d54930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42286f840, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42286f840, 0x9082e0, 0x9b9438, 0xc421d549b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc42af9b9b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc429e85680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc426262b70, 0xc424260200, 0xc426262ba0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc426262b70, 0xc424260200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc426262b70, 0xc424260200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42255c620, 0xc424260200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42255c620, 0xc424260200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42255c620, 0xc424260200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4263c4be0, 0xc1a940, 0xc422a68b00)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 1196 [IO wait]:
net.runtime_pollWait(0x7ff23f855c00, 0x72, 0x12)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201bb258, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201bb258, 0xc4201da000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201bb1f0, 0xc4201da000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104e388, 0xc4201da000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc42101afc0, 0xc4201da000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc420d68ae0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4202ff740)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4202ff740, 0x1, 0xc420affbe5, 0x1, 0x0, 0xc4202ff7a0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42101afc0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 6828 [select]:
net/http.(*persistConn).writeLoop(0xc421003560)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 4292 [IO wait]:
net.runtime_pollWait(0x7ff23f855e40, 0x72, 0x1d)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420b19418, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420b19418, 0xc420d9c000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420b193b0, 0xc420d9c000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000c208, 0xc420d9c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420ba0240, 0xc420d9c000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42081b4a0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420c610e0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420c610e0, 0x1, 0xc420cf4be5, 0x1, 0x0, 0xc4209cc2a0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420ba0240)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10291 [select]:
net/http.(*persistConn).writeLoop(0xc421a439e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 21948 [IO wait]:
net.runtime_pollWait(0x7ff23f855d80, 0x72, 0x14)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42704d488, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42704d488, 0xc420f8bb11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42704d420, 0xc420f8bb11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42852e7e8, 0xc420f8bb11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420f8bb00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10116 [select]:
net/http.(*persistConn).roundTrip(0xc420b88c60, 0xc421d764a0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421652300, 0xc420d3ca00, 0x8cf340, 0xc421f2cf38)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421652300, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421932fc0, 0xc421652100)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc421f2cdc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421d763c0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421d763c0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d76180, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d76180, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc421f2cdc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421d76300, 0x1, 0x1, 0xc421f2cdc0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421d76300, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d76180, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d76180, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc421f2cbb0, 0x1, 0x1, 0xc421de05a0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d76180, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d76180, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421de05a0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421d761a0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420b4bcf8, 0x890000c421cf6930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d76180, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d76180, 0x9082e0, 0x9b9438, 0xc421cf69b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420678980)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421de05a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc421932ea0, 0xc421652000, 0xc421932ed0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc421932ea0, 0xc421652000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc421932ea0, 0xc421652000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420f93880, 0xc421652000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420f93880, 0xc421652000)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420f93880, 0xc421652000)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4215fc1e0, 0xc1a940, 0xc4207d9c40)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 2181 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).dispatch(0xc4202fed20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:411 +0xd0
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*partitionProducer).(github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.dispatch)-fm()
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x2a
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.withRecover(0xc4209992d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/async_producer.go:397 +0x1f3
goroutine 13351 [IO wait]:
net.runtime_pollWait(0x7ff23f6baa80, 0x72, 0x6a)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4217f8378, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4217f8378, 0xc420e134d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4217f8310, 0xc420e134d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc427dc8070, 0xc420e134d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e134c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 11777 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd020, 0x72, 0x7e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421fb5b18, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421fb5b18, 0xc420fab000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421fb5ab0, 0xc420fab000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4206643a8, 0xc420fab000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420d10360, 0xc420fab000, 0x1000, 0x1000, 0x0, 0x401903, 0xc4225f2b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420a5d740)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420a5d740, 0x1, 0xc420da6a80, 0xc420fe4c80, 0xc422e74340, 0x0, 0xc420072400)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420d10360)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 11177 [select]:
net/http.(*persistConn).roundTrip(0xc420117c20, 0xc420915880, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420109700, 0xc4207d8cc0, 0x8cf340, 0xc420963728)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420109700, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420842cc0, 0xc420109500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4209635b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4209157a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4209157a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420915620, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420915620, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4209635b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420915700, 0x1, 0x1, 0xc4209635b0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420915700, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420915620, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420915620, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420962e80, 0x1, 0x1, 0xc4214873b0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420915620, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420915620, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4214873b0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc420915640, 0x2, 0x2, 0xc4202aa730, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420915620, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420915620, 0x9082e0, 0x9b9438, 0xc4211af9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4210c1400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4214873b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420842ba0, 0xc420109400, 0xc420842bd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420842ba0, 0xc420109400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420842ba0, 0xc420109400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420943180, 0xc420109400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420943180, 0xc420109400)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420943180, 0xc420109400)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4215fd680, 0xc1a940, 0xc4207d8880)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9552 [select]:
net/http.(*persistConn).roundTrip(0xc421cbe6c0, 0xc4202b1460, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420f91100, 0xc420c2b440, 0x8cf340, 0xc42077d5e9)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420f91100, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421452bd0, 0xc420f90f00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42077d400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4202b1320, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4202b1320, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4202b1100, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b1100, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42077d400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4202b1200, 0x1, 0x1, 0xc42077d400, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4202b1200, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4202b1100, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b1100, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42077d160, 0x1, 0x1, 0xc421bc43f0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4202b1100, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b1100, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421bc43f0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4202b1120, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421ca8438, 0x60000c4211a8930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4202b1100, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4202b1100, 0x9082e0, 0x9b9438, 0xc4211a89b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc421c88440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bc43f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc421452ab0, 0xc420f90e00, 0xc421452ae0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc421452ab0, 0xc420f90e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc421452ab0, 0xc420f90e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421cba2a0, 0xc420f90e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421cba2a0, 0xc420f90e00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421cba2a0, 0xc420f90e00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421ba03c0, 0xc1a940, 0xc420c2afc0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21703 [select]:
net/http.(*persistConn).roundTrip(0xc431930480, 0xc421ce46e0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc428e71a00, 0xc420a88680, 0x8cf340, 0xc423979f58)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc428e71a00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42f4d5f20, 0xc428e71800)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc423979e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421ce4620, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421ce4620, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421ce44c0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce44c0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc423979e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421ce45a0, 0x1, 0x1, 0xc423979e00, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421ce45a0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421ce44c0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce44c0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc423979c30, 0x1, 0x1, 0xc42584c360, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421ce44c0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce44c0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42584c360, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421ce44e0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc426e7fb98, 0x160000c420eef930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421ce44c0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421ce44c0, 0x9082e0, 0x9b9438, 0xc420eef9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4284ca6e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42584c360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42f4d5d10, 0xc428e71700, 0xc42f4d5d40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42f4d5d10, 0xc428e71700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42f4d5d10, 0xc428e71700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4288c0620, 0xc428e71700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4288c0620, 0xc428e71700)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4288c0620, 0xc428e71700)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4283af180, 0xc1a940, 0xc420a88100)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9551 [select]:
net/http.(*persistConn).writeLoop(0xc421b89560)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 4293 [select]:
net/http.(*persistConn).writeLoop(0xc420ba0240)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13477 [select]:
net/http.(*persistConn).roundTrip(0xc42668f0e0, 0xc429f046a0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc429b0a700, 0xc420783740, 0x8cf340, 0xc429eb6a98)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc429b0a700, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc429ef66c0, 0xc429b0a500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc429eb68d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc429f04600, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc429f04600, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc429f044a0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429f044a0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc429eb68d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc429f04580, 0x1, 0x1, 0xc429eb68d0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc429f04580, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc429f044a0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429f044a0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc429eb6660, 0x1, 0x1, 0xc42bb7b320, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc429f044a0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429f044a0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42bb7b320, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc429f044c0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc429e7a598, 0xab0000c420dc9930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc429f044a0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429f044a0, 0x9082e0, 0x9b9438, 0xc420dc99b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc429f6c4b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42bb7b320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc429ef65a0, 0xc429b0a400, 0xc429ef65d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc429ef65a0, 0xc429b0a400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc429ef65a0, 0xc429b0a400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc429bcd340, 0xc429b0a400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc429bcd340, 0xc429b0a400)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc429bcd340, 0xc429b0a400)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc429ea6280, 0xc1a940, 0xc420783080)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9753 [select]:
net/http.(*persistConn).writeLoop(0xc4211e0900)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13650 [select]:
net/http.(*persistConn).roundTrip(0xc426118480, 0xc422569040, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc422453300, 0xc42015c3c0, 0x8cf340, 0xc42584a1f8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc422453300, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc426623260, 0xc422453000)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42584a030)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc422568fa0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc422568fa0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422568e40, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422568e40, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42584a030)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc422568f20, 0x1, 0x1, 0xc42584a030, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc422568f20, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422568e40, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422568e40, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4207f7dc0, 0x1, 0x1, 0xc42650fcb0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422568e40, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422568e40, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42650fcb0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc422568e60, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc426c7cb18, 0xbb0000c422147930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422568e40, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422568e40, 0x9082e0, 0x9b9438, 0xc4221479b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc424c7cc20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42650fcb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc426623140, 0xc422452f00, 0xc426623170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc426623140, 0xc422452f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc426623140, 0xc422452f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42a749340, 0xc422452f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42a749340, 0xc422452f00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42a749340, 0xc422452f00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4275af360, 0xc1a940, 0xc4202a0280)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 11260 [select]:
net/http.(*persistConn).roundTrip(0xc4210bcb40, 0xc42033dc00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420de5600, 0xc420f8a140, 0x8cf340, 0xc420934718)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420de5600, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420780ab0, 0xc420de5400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4209345a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42033db20, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42033db20, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42033d980, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d980, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4209345a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42033da80, 0x1, 0x1, 0xc4209345a0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42033da80, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42033d980, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d980, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4209342b0, 0x1, 0x1, 0xc420733dd0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42033d980, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d980, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc420733dd0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42033d9a0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422c54018, 0x130000c421cf5930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42033d980, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d980, 0x9082e0, 0x9b9438, 0xc421cf59b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc421099080)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420733dd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420780990, 0xc420de5300, 0xc4207809c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420780990, 0xc420de5300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420780990, 0xc420de5300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4207702a0, 0xc420de5300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4207702a0, 0xc420de5300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4207702a0, 0xc420de5300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420b105a0, 0xc1a940, 0xc421489cc0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21942 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc430e36000, 0x1cc, 0x1cc, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc434a29000, 0x1cc, 0x1cc, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc426f54b10, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc426f54b10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc42c0b76a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc42c0b76a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42c0b7560, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42c0b7560, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc426f54b10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42c0b7640, 0x1, 0x1, 0xc426f54b10, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42c0b7640, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42c0b7560, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42c0b7560, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc426f54920, 0x1, 0x1, 0xc4284822d0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42c0b7560, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42c0b7560, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4284822d0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42c0b7580, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420a858d8, 0x1f0000c4225ce930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42c0b7560, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42c0b7560, 0x9082e0, 0x9b9438, 0xc4225ce9b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc4247b90f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284822d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc426f51a40, 0xc436b38600, 0xc426f51a70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc426f51a40, 0xc436b38600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc426f51a40, 0xc436b38600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4352ae700, 0xc436b38600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4352ae700, 0xc436b38600)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4352ae700, 0xc436b38600)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4215e6e60, 0xc1a940, 0xc420f8ad80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 1750 [IO wait]:
net.runtime_pollWait(0x7ff23f856500, 0x72, 0x17)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420b18b58, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420b18b58, 0xc420689000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420b18af0, 0xc420689000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4202a82b0, 0xc420689000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420116120, 0xc420689000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc420a7e9c0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420a7e840)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420a7e840, 0x1, 0xc4209c8be5, 0x1, 0x0, 0xc420702fc0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420116120)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 1751 [select]:
net/http.(*persistConn).writeLoop(0xc420116120)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 1763 [IO wait]:
net.runtime_pollWait(0x7ff23f856140, 0x72, 0x11)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420a39728, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420a39728, 0xc420e26951, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420a396c0, 0xc420e26951, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4202a8358, 0xc420e26951, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e26940)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 4337 [select]:
net/http.(*persistConn).roundTrip(0xc420ba0240, 0xc42090e320, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420f75800, 0xc4202fca00, 0x8cf340, 0xc420922978)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420f75800, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420ac4300, 0xc420f75400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420922810)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42090e260, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42090e260, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42090e080, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42090e080, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420922810)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42090e1a0, 0x1, 0x1, 0xc420922810, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42090e1a0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42090e080, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42090e080, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4209225f0, 0x1, 0x1, 0xc420732f30, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42090e080, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42090e080, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc420732f30, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42090e0a0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420b4b4b8, 0x9a0000c4201e9930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42090e080, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42090e080, 0x9082e0, 0x9b9438, 0xc4201e99b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420197780)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420732f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420ac41b0, 0xc420f75300, 0xc420ac41e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420ac41b0, 0xc420f75300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420ac41b0, 0xc420f75300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4209a2700, 0xc420f75300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4209a2700, 0xc420f75300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4209a2700, 0xc420f75300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420d70000, 0xc1a940, 0xc4202fc5c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 19038 [IO wait]:
net.runtime_pollWait(0x7ff23fa70bf0, 0x72, 0x20)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42118b178, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42118b178, 0xc422dac000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42118b110, 0xc422dac000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a34b90, 0xc422dac000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4270338c0, 0xc422dac000, 0x1000, 0x1000, 0x0, 0x401903, 0xc42069eb80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420b400c0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420b400c0, 0x1, 0xc420b40240, 0xc420605c80, 0xc422210d01, 0x60, 0xc420605c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4270338c0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10326 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba000, 0x72, 0x7b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210d5178, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210d5178, 0xc4225c3000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210d5110, 0xc4225c3000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000ded8, 0xc4225c3000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421690fc0, 0xc4225c3000, 0x1000, 0x1000, 0xc420a08c00, 0x6450780a0099cabf, 0xc4225bbb80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42275b5c0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42275b5c0, 0x1, 0xc421d91da0, 0xc420f47480, 0xc421d91b01, 0x60, 0xc420f47460)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421690fc0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 9550 [IO wait]:
net.runtime_pollWait(0x7ff23f891c00, 0x72, 0x5f)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421c7e378, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421c7e378, 0xc421ca4000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421c7e310, 0xc421ca4000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c213c8, 0xc421ca4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421b89560, 0xc421ca4000, 0x1000, 0x1000, 0x0, 0x7ff23f88e000, 0xc420cf6b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421c58ae0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421c58ae0, 0x1, 0xc421c58c60, 0xc420d75c80, 0xc42033cec0, 0x0, 0xc420623000)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421b89560)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 1779 [select]:
net/http.(*persistConn).roundTrip(0xc420116120, 0xc4200dafe0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420f75700, 0xc420361e00, 0x8cf340, 0xc4209130f9)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420f75700, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420780e40, 0xc420f75500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420912f20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4200daec0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4200daec0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4200dad00, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4200dad00, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420912f20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4200dae20, 0x1, 0x1, 0xc420912f20, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4200dae20, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4200dad00, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4200dad00, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420912d30, 0x1, 0x1, 0xc4201cb5f0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4200dad00, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4200dad00, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4201cb5f0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4200dad40, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420bf18d8, 0xb10000c420bc2930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4200dad00, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4200dad00, 0x9082e0, 0x9b9438, 0xc420bc29b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420b18fa0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4201cb5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420780cc0, 0xc420c3ea00, 0xc420780d20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420780cc0, 0xc420c3ea00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420780cc0, 0xc420c3ea00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420f40d20, 0xc420c3ea00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420f40d20, 0xc420c3ea00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420f40d20, 0xc420c3ea00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420a4cd20, 0xc1a940, 0xc420e26900)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 8406 [select]:
net/http.(*persistConn).writeLoop(0xc420b89b00)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 11778 [select]:
net/http.(*persistConn).writeLoop(0xc420d10360)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 11222 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd3e0, 0x72, 0x6e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421098bc8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421098bc8, 0xc420d3a000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421098b60, 0xc420d3a000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a603f0, 0xc420d3a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420117c20, 0xc420d3a000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc421076300)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42127a420)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42127a420, 0x1, 0xc421cf9be5, 0x1, 0x0, 0xc421ac8900, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420117c20)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 9220 [select]:
net/http.(*persistConn).writeLoop(0xc420dd1e60)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9848 [IO wait]:
net.runtime_pollWait(0x7ff23f891a80, 0x72, 0x64)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421c7e458, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421c7e458, 0xc421ce8000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421c7e3f0, 0xc421ce8000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c21408, 0xc421ce8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421c4ab40, 0xc421ce8000, 0x1000, 0x1000, 0xc420716af8, 0x401903, 0xc420716b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421c594a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421c594a0, 0x1, 0xc421ce20c0, 0xc420c57c80, 0xc421b55ec0, 0x60, 0xc420c57c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421c4ab40)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 4338 [IO wait]:
net.runtime_pollWait(0x7ff23fa70770, 0x72, 0xc)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201976b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201976b8, 0xc4202fc651, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420197650, 0xc4202fc651, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a600c0, 0xc4202fc651, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4202fc640)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21769 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc42c24d000, 0x1e4, 0x1e4, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc42c24c000, 0x1e4, 0x1e4, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc428e5e970, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc428e5e970)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc436162240, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc436162240, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc436162100, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc436162100, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc428e5e970)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4361621e0, 0x1, 0x1, 0xc428e5e970, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4361621e0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc436162100, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc436162100, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc428e5e780, 0x1, 0x1, 0xc421f36870, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc436162100, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc436162100, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421f36870, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc436162120, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4304269b8, 0xb80000c420712930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc436162100, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc436162100, 0x9082e0, 0x9b9438, 0xc4207129b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc427582a60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421f36870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc425eb9fb0, 0xc4229e5500, 0xc4303e0000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc425eb9fb0, 0xc4229e5500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc425eb9fb0, 0xc4229e5500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc428be42a0, 0xc4229e5500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc428be42a0, 0xc4229e5500)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc428be42a0, 0xc4229e5500)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420ce0000, 0xc1a940, 0xc420a89b80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10311 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2820, 0x72, 0x4d)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420163958, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420163958, 0xc4225e2000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201638f0, 0xc4225e2000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c21700, 0xc4225e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4217c4480, 0xc4225e2000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc4227af980)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421615e60)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421615e60, 0x1, 0xc421df9be5, 0x1, 0x0, 0xc42292ca80, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4217c4480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 13408 [IO wait]:
net.runtime_pollWait(0x7ff23f85dae0, 0x72, 0x67)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4272bc848, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4272bc848, 0xc42cd23000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4272bc7e0, 0xc42cd23000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420664148, 0xc42cd23000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc426694240, 0xc42cd23000, 0x1000, 0x1000, 0xc420623000, 0x6450780a0099cabf, 0xc420ef1b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420e20f00)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420e20f00, 0x1, 0xc4231411a0, 0xc422d17480, 0xc423140d01, 0x60, 0xc422d17460)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc426694240)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 11659 [IO wait]:
net.runtime_pollWait(0x7ff23f8916c0, 0x72, 0x7c)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42210fa38, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42210fa38, 0xc420e27151, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42210f9d0, 0xc420e27151, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c40218, 0xc420e27151, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e27140)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10846 [select]:
net/http.(*persistConn).roundTrip(0xc420c11c20, 0xc422de9b60, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc422e54700, 0xc422e136c0, 0x8cf340, 0xc422e568d8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc422e54700, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc422e11440, 0xc422e54500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc422e56710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc422de9ac0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc422de9ac0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422de9960, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422de9960, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc422e56710)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc422de9a40, 0x1, 0x1, 0xc422e56710, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc422de9a40, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422de9960, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422de9960, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc422e564a0, 0x1, 0x1, 0xc422e18e10, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422de9960, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422de9960, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc422e18e10, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc422de9980, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422df3358, 0xcf0000c4225ef930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422de9960, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422de9960, 0x9082e0, 0x9b9438, 0xc4225ef9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc422e523d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc422e11320, 0xc422e54400, 0xc422e11350)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc422e11320, 0xc422e54400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc422e11320, 0xc422e54400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4216f1180, 0xc422e54400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4216f1180, 0xc422e54400)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4216f1180, 0xc422e54400)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc422df08c0, 0xc1a940, 0xc422e13340)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21853 [runnable]:
net.runtime_pollWait(0x7ff23f810648, 0x72, 0x25)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42583f9c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42583f9c8, 0xc422e4b000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42583f960, 0xc422e4b000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42852e078, 0xc422e4b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc431930480, 0xc422e4b000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42615e060)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42852d5c0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42852d5c0, 0x1, 0xc420eedbe5, 0x1, 0x0, 0xc42852d620, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc431930480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 9752 [IO wait]:
net.runtime_pollWait(0x7ff23f892200, 0x72, 0x53)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210c0618, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210c0618, 0xc42138e000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210c05b0, 0xc42138e000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000cb10, 0xc42138e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4211e0900, 0xc42138e000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc4212e32c0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4213a9260)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4213a9260, 0x1, 0xc42110fbe5, 0x1, 0x0, 0xc4213a92c0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4211e0900)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 12873 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba480, 0x72, 0x73)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201b8f48, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201b8f48, 0xc422d4e000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201b8ee0, 0xc422d4e000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000dac0, 0xc422d4e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc428adc5a0, 0xc422d4e000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42681fe00)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420d305a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420d305a0, 0x1, 0xc421108be5, 0x1, 0x0, 0xc42681ff80, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc428adc5a0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 13743 [select]:
net/http.(*persistConn).writeLoop(0xc4219867e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 10016 [select]:
net/http.(*persistConn).roundTrip(0xc421aae240, 0xc42297ca80, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420b37200, 0xc42296cd40, 0x8cf340, 0xc4229ac4d8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420b37200, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4229aa2a0, 0xc420b37000)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4229ac310)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42297c9e0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42297c9e0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42297c880, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c880, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4229ac310)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42297c960, 0x1, 0x1, 0xc4229ac310, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42297c960, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42297c880, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c880, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4229ac090, 0x1, 0x1, 0xc4212eecf0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42297c880, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c880, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4212eecf0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42297c8a0, 0x2, 0x2, 0xc4202aa730, 0x16, 0x8, 0x49, 0x40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42297c880, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x0, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c880, 0x9082e0, 0x9b9438, 0xc421db99b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4201c7be0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eecf0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4229aa180, 0xc420b36f00, 0xc4229aa1b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4229aa180, 0xc420b36f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4229aa180, 0xc420b36f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4213889a0, 0xc420b36f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4213889a0, 0xc420b36f00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4213889a0, 0xc420b36f00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420a4cb40, 0xc1a940, 0xc42296c9c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 11178 [IO wait]:
net.runtime_pollWait(0x7ff23f855a80, 0x72, 0x5e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210c1338, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210c1338, 0xc4207d88d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210c12d0, 0xc4207d88d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420846220, 0xc4207d88d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4207d88c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10403 [IO wait]:
net.runtime_pollWait(0x7ff23f85e1a0, 0x72, 0x5c)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420ff01b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420ff01b8, 0xc422960000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420ff0150, 0xc422960000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420846f98, 0xc422960000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421830480, 0xc422960000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc422962000)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421c11e60)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421c11e60, 0x1, 0xc420d5fbe5, 0x1, 0x0, 0xc421c11ec0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421830480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 22006 [IO wait]:
net.runtime_pollWait(0x7ff23f7bdb60, 0x72, 0x2a)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4243883e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4243883e8, 0xc4239b5a11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc424388380, 0xc4239b5a11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc430b19d08, 0xc4239b5a11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4239b5a00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9161 [IO wait]:
net.runtime_pollWait(0x7ff23f85e320, 0x72, 0x40)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420ff0068, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420ff0068, 0xc4207d82d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420ff0000, 0xc4207d82d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a4a020, 0xc4207d82d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4207d82c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 13606 [select]:
net/http.(*persistConn).writeLoop(0xc4210b2c60)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 14242 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd260, 0x72, 0xaf)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210c0b58, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210c0b58, 0xc422a4d991, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210c0af0, 0xc422a4d991, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4236e40a8, 0xc422a4d991, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422a4d980)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21704 [IO wait]:
net.runtime_pollWait(0x7ff23fa705f0, 0x72, 0x2e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4284ca618, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4284ca618, 0xc420a88151, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4284ca5b0, 0xc420a88151, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4308a7a18, 0xc420a88151, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420a88140)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 13742 [IO wait]:
net.runtime_pollWait(0x7ff23f7bde60, 0x72, 0xa6)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420ff19c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420ff19c8, 0xc42288c000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420ff1960, 0xc42288c000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc421e9e000, 0xc42288c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4219867e0, 0xc42288c000, 0x1000, 0x1000, 0x9b9fa0, 0x0, 0xc4211afb80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42d362000)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42d362000, 0x1, 0xc425f78120, 0xc4223a1c80, 0xc423528901, 0x60, 0xc4223a1c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4219867e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 8883 [IO wait]:
net.runtime_pollWait(0x7ff23f856c98, 0x72, 0x47)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421099258, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421099258, 0xc420db8000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210991f0, 0xc420db8000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4208462d8, 0xc420db8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420dd0480, 0xc420db8000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42066e660)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420da6480)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420da6480, 0x1, 0xc420ef3be5, 0x1, 0x0, 0xc420da79e0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420dd0480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 9842 [IO wait]:
net.runtime_pollWait(0x7ff23f7bdda0, 0x72, 0x62)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42144a768, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42144a768, 0xc4211b3851, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42144a700, 0xc4211b3851, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c213d8, 0xc4211b3851, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4211b3840)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10352 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba840, 0x72, 0x45)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420304458, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420304458, 0xc4228d0851, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4203043f0, 0xc4228d0851, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a4b158, 0xc4228d0851, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4228d0840)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9997 [select]:
net/http.(*persistConn).roundTrip(0xc421c4bc20, 0xc421d81040, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421de2600, 0xc420a5e000, 0x8cf340, 0xc421dccfb8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421de2600, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421d713e0, 0xc421de2400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc421dcce40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421d80f80, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421d80f80, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d80e20, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d80e20, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc421dcce40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421d80f00, 0x1, 0x1, 0xc421dcce40, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421d80f00, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d80e20, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d80e20, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc421dccc30, 0x1, 0x1, 0xc421b9eea0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d80e20, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d80e20, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421b9eea0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421d80e40, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421bb14b8, 0x540000c421db8930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d80e20, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d80e20, 0x9082e0, 0x9b9438, 0xc421db89b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc42144b4e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9eea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc421d712c0, 0xc421de2300, 0xc421d712f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc421d712c0, 0xc421de2300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc421d712c0, 0xc421de2300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421c46b60, 0xc421de2300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421c46b60, 0xc421de2300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421c46b60, 0xc421de2300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421ba0be0, 0xc1a940, 0xc420a479c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9540 [IO wait]:
net.runtime_pollWait(0x7ff23f85dde0, 0x72, 0x55)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4216998e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4216998e8, 0xc421c56000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421699880, 0xc421c56000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c21368, 0xc421c56000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421b890e0, 0xc421c56000, 0x1000, 0x1000, 0xc4209de000, 0x6450780a0099cabf, 0xc420d24b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421c03f80)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421c03f80, 0x1, 0xc421c0b320, 0xc4206e0480, 0xc421c0b101, 0x60, 0xc4206e0460)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421b890e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 9896 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2a60, 0x72, 0x79)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4219cfe28, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4219cfe28, 0xc421a40000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4219cfdc0, 0xc421a40000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4208463e0, 0xc421a40000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421987680, 0xc421a40000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc421c03f20)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421a7cde0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421a7cde0, 0x1, 0xc420d20be5, 0x1, 0x0, 0xc421a7cea0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421987680)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10115 [select]:
net/http.(*persistConn).roundTrip(0xc4215af7a0, 0xc420ad7fc0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4212cae00, 0xc420b51a40, 0x8cf340, 0xc420814808)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4212cae00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421278930, 0xc4212cac00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420814570)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc420ad7ee0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc420ad7ee0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420ad7b20, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420ad7b20, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420814570)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420ad7e40, 0x1, 0x1, 0xc420814570, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420ad7e40, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420ad7b20, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420ad7b20, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4208141d0, 0x1, 0x1, 0xc421692f30, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420ad7b20, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420ad7b20, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421692f30, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc420ad7ba0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4209f38d8, 0xaa0000c42214b930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420ad7b20, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420ad7b20, 0x9082e0, 0x9b9438, 0xc42214b9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420bee2f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421692f30)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc421278810, 0xc4212cab00, 0xc421278840)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc421278810, 0xc4212cab00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc421278810, 0xc4212cab00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420e900e0, 0xc4212cab00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420e900e0, 0xc4212cab00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420e900e0, 0xc4212cab00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4215fc140, 0xc1a940, 0xc420b51680)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10117 [IO wait]:
net.runtime_pollWait(0x7ff23f6bae40, 0x72, 0x98)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4206788b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4206788b8, 0xc4207d9c91, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420678850, 0xc4207d9c91, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4206652e8, 0xc4207d9c91, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4207d9c80)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21520 [runnable]:
net.runtime_pollClose(0x7ff23f891cc0)
/usr/local/go/src/runtime/netpoll.go:130 +0x77
net.(*pollDesc).close(0xc425fea8b8)
/usr/local/go/src/net/fd_poll_runtime.go:49 +0x3d
net.(*netFD).destroy(0xc425fea850)
/usr/local/go/src/net/fd_unix.go:190 +0x31
net.(*netFD).readUnlock(0xc425fea850)
/usr/local/go/src/net/fd_mutex.go:229 +0x53
net.(*netFD).Read(0xc425fea850, 0xc422d26000, 0x1000, 0x1000, 0x0, 0xc13180, 0xc42001ecc0)
/usr/local/go/src/net/fd_unix.go:261 +0x260
net.(*conn).Read(0xc42cd490f0, 0xc422d26000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4289aec60, 0xc422d26000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42615e7e0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc422e40ea0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc422e40ea0, 0x1, 0xc421d51be5, 0x1, 0x0, 0xc422e40f00, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4289aec60)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10172 [IO wait]:
net.runtime_pollWait(0x7ff23f811548, 0x72, 0xac)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420a39bf8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420a39bf8, 0xc42015c591, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420a39b90, 0xc42015c591, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c21510, 0xc42015c591, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42015c580)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21922 [IO wait]:
net.runtime_pollWait(0x7ff23f892140, 0x72, 0x30)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42583fdb8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42583fdb8, 0xc420f8add1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42583fd50, 0xc420f8add1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42852e0a0, 0xc420f8add1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420f8adc0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10171 [select]:
net/http.(*persistConn).roundTrip(0xc421a430e0, 0xc421d817e0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421655800, 0xc42015cf80, 0x8cf340, 0xc42214d5b8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421655800, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421ca1770, 0xc421655400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42214d440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421d81720, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421d81720, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d815c0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d815c0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42214d440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421d816a0, 0x1, 0x1, 0xc42214d440, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421d816a0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d815c0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d815c0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42214d230, 0x1, 0x1, 0xc421b013b0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d815c0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d815c0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421b013b0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421d815e0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421015358, 0x650000c4225b6930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d815c0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d815c0, 0x9082e0, 0x9b9438, 0xc4225b69b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420a39e10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b013b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc421ca1650, 0xc421655200, 0xc421ca1680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc421ca1650, 0xc421655200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc421ca1650, 0xc421655200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4215c3b20, 0xc421655200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4215c3b20, 0xc421655200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4215c3b20, 0xc421655200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4216465a0, 0xc1a940, 0xc42015c4c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10312 [select]:
net/http.(*persistConn).writeLoop(0xc4217c4480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 21944 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc427cf3000, 0x1b7, 0x1b7, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc427cf2000, 0x1b7, 0x1b7, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc4301700c0, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc4301700c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc42cf68d00, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc42cf68d00, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42cf68bc0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf68bc0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4301700c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42cf68ca0, 0x1, 0x1, 0xc4301700c0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42cf68ca0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42cf68bc0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf68bc0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc427cebed0, 0x1, 0x1, 0xc431694750, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42cf68bc0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf68bc0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc431694750, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42cf68be0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4222b6438, 0xfd0000c421d52930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42cf68bc0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf68bc0, 0x9082e0, 0x9b9438, 0xc421d529b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc43016e130)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431694750)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc424b52930, 0xc436b38800, 0xc424b52960)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc424b52930, 0xc436b38800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc424b52930, 0xc436b38800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42534ab60, 0xc436b38800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42534ab60, 0xc436b38800)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42534ab60, 0xc436b38800)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4215e6fa0, 0xc1a940, 0xc420f8b6c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10480 [IO wait]:
net.runtime_pollWait(0x7ff23f7c26a0, 0x72, 0x49)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420ff06f8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420ff06f8, 0xc422966a51, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420ff0690, 0xc422966a51, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4206656f8, 0xc422966a51, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422966a40)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 14216 [select]:
net/http.(*persistConn).roundTrip(0xc421aae480, 0xc426370a40, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc42030c200, 0xc4209d2000, 0x8cf340, 0xc42c9669e9)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc42030c200, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42acd06c0, 0xc42030c000)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42c966860)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc426370980, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc426370980, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc426370820, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc426370820, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42c966860)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc426370900, 0x1, 0x1, 0xc42c966860, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc426370900, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc426370820, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc426370820, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42c966650, 0x1, 0x1, 0xc42851a090, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc426370820, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc426370820, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42851a090, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc426370840, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc428064018, 0xc00000c420d21930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc426370820, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc426370820, 0x9082e0, 0x9b9438, 0xc420d219b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc428154590)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42851a090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42acd05a0, 0xc4261eca00, 0xc42acd05d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42acd05a0, 0xc4261eca00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42acd05a0, 0xc4261eca00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc425e94460, 0xc4261eca00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc425e94460, 0xc4261eca00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc425e94460, 0xc4261eca00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42a62a3c0, 0xc1a940, 0xc422a4d940)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9849 [select]:
net/http.(*persistConn).writeLoop(0xc421c4ab40)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9805 [IO wait]:
net.runtime_pollWait(0x7ff23f8919c0, 0x72, 0x71)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc06f8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc06f8, 0xc4210a8000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc0690, 0xc4210a8000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a4acb8, 0xc4210a8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420dd0360, 0xc4210a8000, 0x1000, 0x1000, 0xc420a08c00, 0x6450780a0099cabf, 0xc4211a9b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42126c600)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42126c600, 0x1, 0xc421c03e60, 0xc420c5bc80, 0xc421b91d40, 0x60, 0xc420c5bc60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420dd0360)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 6827 [IO wait]:
net.runtime_pollWait(0x7ff23f857718, 0x72, 0x29)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201bb4f8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201bb4f8, 0xc420c6c000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201bb490, 0xc420c6c000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4206641f8, 0xc420c6c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421003560, 0xc420c6c000, 0x1000, 0x1000, 0xc420a8ab40, 0x99cabf, 0xc420eeeb80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420da62a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420da62a0, 0x1, 0xc420283aa0, 0xc420c56480, 0x7ff23fac92c0, 0x7, 0xc4209df800)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421003560)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 13478 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd9e0, 0x72, 0x81)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc429f6c378, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc429f6c378, 0xc4207830d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc429f6c310, 0xc4207830d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4215e4020, 0xc4207830d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4207830c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9841 [select]:
net/http.(*persistConn).roundTrip(0xc421c4ab40, 0xc4203717c0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4212cb600, 0xc420b78240, 0x8cf340, 0xc420787038)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4212cb600, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc421301260, 0xc4212cb400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420786ec0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4203716e0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4203716e0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420371500, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420371500, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420786ec0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420371640, 0x1, 0x1, 0xc420786ec0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420371640, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420371500, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420371500, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420786cb0, 0x1, 0x1, 0xc421b9e6c0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420371500, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420371500, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421b9e6c0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc420371520, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421bb06f8, 0x930000c42131a930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420371500, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420371500, 0x9082e0, 0x9b9438, 0xc42131a9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc42144a830)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421b9e6c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc421301140, 0xc4212cb300, 0xc421301170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc421301140, 0xc4212cb300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc421301140, 0xc4212cb300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421c46460, 0xc4212cb300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421c46460, 0xc4212cb300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421c46460, 0xc4212cb300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421ba0460, 0xc1a940, 0xc4211b3800)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9897 [select]:
net/http.(*persistConn).writeLoop(0xc421987680)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 7728 [IO wait]:
net.runtime_pollWait(0x7ff23f891d80, 0x72, 0x48)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421c881b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421c881b8, 0xc420c2ac11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421c88150, 0xc420c2ac11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a4ac48, 0xc420c2ac11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420c2ac00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 5005 [select]:
net/http.(*persistConn).roundTrip(0xc4211e0900, 0xc420acb2c0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421189100, 0xc420939c40, 0x8cf340, 0xc42094b819)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421189100, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4210cf6b0, 0xc421188f00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42094b5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc420acb180, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc420acb180, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420acafa0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420acafa0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42094b5f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420acb080, 0x1, 0x1, 0xc42094b5f0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420acb080, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420acafa0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420acafa0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42094b2b0, 0x1, 0x1, 0xc421486a20, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420acafa0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420acafa0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421486a20, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc420acafc0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4213a2c78, 0x610000c4209c6930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420acafa0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420acafa0, 0x9082e0, 0x9b9438, 0xc4209c69b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4203046e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4210cf590, 0xc421188e00, 0xc4210cf5c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4210cf590, 0xc421188e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4210cf590, 0xc421188e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4209ec2a0, 0xc421188e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4209ec2a0, 0xc421188e00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4209ec2a0, 0xc421188e00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420677ae0, 0xc1a940, 0xc420939580)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 17497 [select]:
net/http.(*persistConn).writeLoop(0xc42658c000)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9075 [select]:
net/http.(*persistConn).roundTrip(0xc420dd0480, 0xc42033daa0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc42030dd00, 0xc420939080, 0x8cf340, 0xc420342a48)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc42030dd00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4202a4d80, 0xc42030db00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4200d7f80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42033d9e0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42033d9e0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42033d7e0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d7e0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4200d7f80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42033d900, 0x1, 0x1, 0xc4200d7f80, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42033d900, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42033d7e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d7e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4200d7d00, 0x1, 0x1, 0xc420f39290, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42033d7e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d7e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc420f39290, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42033d800, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420a85cf8, 0x370000c4211ad930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42033d7e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42033d7e0, 0x9082e0, 0x9b9438, 0xc4211ad9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4202a7780)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420f39290)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4202a4b40, 0xc42030da00, 0xc4202a4b70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4202a4b40, 0xc42030da00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4202a4b40, 0xc42030da00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4207716c0, 0xc42030da00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4207716c0, 0xc42030da00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4207716c0, 0xc42030da00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4207ddae0, 0xc1a940, 0xc420b51cc0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9296 [IO wait]:
net.runtime_pollWait(0x7ff23f85d8a0, 0x72, 0x66)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420163bf8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420163bf8, 0xc420d9a000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420163b90, 0xc420d9a000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c40268, 0xc420d9a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4206a7b00, 0xc420d9a000, 0x1000, 0x1000, 0x0, 0x7ff23f88e000, 0xc42069db80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420f33c20)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420f33c20, 0x1, 0xc420de1860, 0xc420bfe480, 0xc42029aa01, 0x60, 0xc420bfe460)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4206a7b00)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10351 [select]:
net/http.(*persistConn).roundTrip(0xc4217c4480, 0xc42283edc0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421aef800, 0xc4228d0b40, 0x8cf340, 0xc42282b608)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421aef800, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4227eb260, 0xc421aef600)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42282b440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42283ed20, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42283ed20, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42283ebc0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42283ebc0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42282b440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42283eca0, 0x1, 0x1, 0xc42282b440, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42283eca0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42283ebc0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42283ebc0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42282b1d0, 0x1, 0x1, 0xc4228294d0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42283ebc0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42283ebc0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4228294d0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42283ebe0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421bb18d8, 0xe70000c4225a6930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42283ebc0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42283ebc0, 0x9082e0, 0x9b9438, 0xc4225a69b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420304520)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4228294d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4227eb140, 0xc421aef500, 0xc4227eb170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4227eb140, 0xc421aef500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4227eb140, 0xc421aef500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42162c380, 0xc421aef500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42162c380, 0xc421aef500)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42162c380, 0xc421aef500)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4217e9b80, 0xc1a940, 0xc4228d0800)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13165 [select]:
net/http.(*persistConn).writeLoop(0xc42668e7e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 8578 [select]:
net/http.(*persistConn).roundTrip(0xc4206a7c20, 0xc4208f04e0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4206f6c00, 0xc4209d32c0, 0x8cf340, 0xc4208ed2b8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4206f6c00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420ae6ed0, 0xc4206f6700)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4208ed000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4208f03e0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4208f03e0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208f01c0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f01c0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4208ed000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4208f0320, 0x1, 0x1, 0xc4208ed000, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4208f0320, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208f01c0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f01c0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4208ecd60, 0x1, 0x1, 0xc4210b5680, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208f01c0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f01c0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4210b5680, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4208f0200, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420b70438, 0x500000c420d5f930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208f01c0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f01c0, 0x9082e0, 0x9b9438, 0xc420d5f9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420b19e80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b5680)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420ae65d0, 0xc4206f6200, 0xc420ae6600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420ae65d0, 0xc4206f6200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420ae65d0, 0xc4206f6200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420943420, 0xc4206f6200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420943420, 0xc4206f6200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420943420, 0xc4206f6200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4207dcfa0, 0xc1a940, 0xc4209d2a80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10510 [select]:
net/http.(*persistConn).writeLoop(0xc420a04360)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 8530 [select]:
net/http.(*persistConn).writeLoop(0xc4206a7c20)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 5738 [select]:
net/http.(*persistConn).roundTrip(0xc421003560, 0xc42036dea0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420de4f00, 0xc420e0db80, 0x8cf340, 0xc420ad2958)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420de4f00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420399ce0, 0xc420de4d00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420ad27f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42036dda0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42036dda0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42036dbe0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42036dbe0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420ad27f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42036dd00, 0x1, 0x1, 0xc420ad27f0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42036dd00, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42036dbe0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42036dbe0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420ad2520, 0x1, 0x1, 0xc4210b57a0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42036dbe0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42036dbe0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4210b57a0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42036dc00, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4209dadd8, 0xeb0000c420eee930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42036dbe0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42036dbe0, 0x9082e0, 0x9b9438, 0xc420eee9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4201bafa0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4210b57a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420399b90, 0xc420de4c00, 0xc420399bc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420399b90, 0xc420de4c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420399b90, 0xc420de4c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420367a40, 0xc420de4c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420367a40, 0xc420de4c00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420367a40, 0xc420de4c00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420100140, 0xc1a940, 0xc420e0d800)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 5739 [IO wait]:
net.runtime_pollWait(0x7ff23f857058, 0x72, 0x28)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201bae68, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201bae68, 0xc420e0d851, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201bae00, 0xc420e0d851, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104e1b0, 0xc420e0d851, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e0d840)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10327 [select]:
net/http.(*persistConn).writeLoop(0xc421690fc0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 10053 [select]:
net/http.(*persistConn).writeLoop(0xc420c11c20)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9787 [IO wait]:
net.runtime_pollWait(0x7ff23f85d720, 0x72, 0x5b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421699958, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421699958, 0xc420e13691, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4216998f0, 0xc420e13691, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a61008, 0xc420e13691, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420e13680)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 11658 [select]:
net/http.(*persistConn).roundTrip(0xc420d10360, 0xc4208c92c0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4206f7a00, 0xc420e27640, 0x8cf340, 0xc42096df28)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4206f7a00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42126a0c0, 0xc4206f7700)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42096ddb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4208c91a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4208c91a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208c8fe0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c8fe0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42096ddb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4208c9120, 0x1, 0x1, 0xc42096ddb0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4208c9120, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208c8fe0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c8fe0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42096db00, 0x1, 0x1, 0xc422e18630, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208c8fe0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c8fe0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc422e18630, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4208c9000, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420b4be58, 0xb0000c420800930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208c8fe0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c8fe0, 0x9082e0, 0x9b9438, 0xc4208009b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc42210fb00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422e18630)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42094ff80, 0xc4206f7400, 0xc42094ffb0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42094ff80, 0xc4206f7400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42094ff80, 0xc4206f7400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4215c2620, 0xc4206f7400)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4215c2620, 0xc4206f7400)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4215c2620, 0xc4206f7400)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4215fc320, 0xc1a940, 0xc420e27100)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21744 [IO wait]:
net.runtime_pollWait(0x7ff23f7a80c0, 0x72, 0x33)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42505eb58, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42505eb58, 0xc42015cf51, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42505eaf0, 0xc42015cf51, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc424b64c30, 0xc42015cf51, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42015cf40)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 8529 [IO wait]:
net.runtime_pollWait(0x7ff23fa70830, 0x72, 0x46)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210d51e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210d51e8, 0xc420d66000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210d5180, 0xc420d66000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104e128, 0xc420d66000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4206a7c20, 0xc420d66000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc420de04e0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42029a3c0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42029a3c0, 0x1, 0xc421319be5, 0x1, 0x0, 0xc420a7f800, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4206a7c20)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10096 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba6c0, 0x72, 0xa2)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc0ed8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc0ed8, 0xc421199011, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc0e70, 0xc421199011, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000dc40, 0xc421199011, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc421199000)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10071 [IO wait]:
net.runtime_pollWait(0x7ff23f6baf00, 0x72, 0x97)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4206787d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4206787d8, 0xc420b516d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420678770, 0xc420b516d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4206652d0, 0xc420b516d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420b516c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10042 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2b20, 0x72, 0x87)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc04c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc04c8, 0xc420b79951, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc0460, 0xc420b79951, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000dbc0, 0xc420b79951, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420b79940)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9786 [select]:
net/http.(*persistConn).roundTrip(0xc421b89560, 0xc421c8c240, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421bc6f00, 0xc420e13a00, 0x8cf340, 0xc420963c18)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421bc6f00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42167f410, 0xc421bc6d00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420963a80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421c8c180, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421c8c180, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421c8c020, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421c8c020, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420963a80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421c8c100, 0x1, 0x1, 0xc420963a80, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421c8c100, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421c8c020, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421c8c020, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420963850, 0x1, 0x1, 0xc4212ef440, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421c8c020, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421c8c020, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4212ef440, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421c8c040, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421ac4b18, 0xa50000c420d23930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421c8c020, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421c8c020, 0x9082e0, 0x9b9438, 0xc420d239b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc421699a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212ef440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42167f2f0, 0xc421bc6c00, 0xc42167f320)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42167f2f0, 0xc421bc6c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42167f2f0, 0xc421bc6c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421bdaa80, 0xc421bc6c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421bdaa80, 0xc421bc6c00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421bdaa80, 0xc421bc6c00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421b8f2c0, 0xc1a940, 0xc420e13640)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9076 [IO wait]:
net.runtime_pollWait(0x7ff23f85e0e0, 0x72, 0x43)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4202a7648, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4202a7648, 0xc420b51d11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4202a75e0, 0xc420b51d11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c202d0, 0xc420b51d11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420b51d00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 8405 [IO wait]:
net.runtime_pollWait(0x7ff23f85df60, 0x72, 0x50)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420bee7d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420bee7d8, 0xc4211b0000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420bee770, 0xc4211b0000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a341f0, 0xc4211b0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420b89b00, 0xc4211b0000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc4212e3a40)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4213a8480)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4213a8480, 0x1, 0xc4211adbe5, 0x1, 0x0, 0xc4213a84e0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420b89b00)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 9160 [select]:
net/http.(*persistConn).roundTrip(0xc420b89b00, 0xc42010e5a0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420bd2400, 0xc4207d8800, 0x8cf340, 0xc42093c548)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420bd2400, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4210ce300, 0xc420bd2100)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42093c3d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42010e400, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42010e400, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42010e1e0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42010e1e0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42093c3d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42010e340, 0x1, 0x1, 0xc42093c3d0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42010e340, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42010e1e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42010e1e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42093c1c0, 0x1, 0x1, 0xc421486090, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42010e1e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42010e1e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421486090, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42010e200, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420d5c018, 0xca0000c420eec930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42010e1e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42010e1e0, 0x9082e0, 0x9b9438, 0xc420eec9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420ff0130)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421486090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4210ce1e0, 0xc420bd2000, 0xc4210ce210)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4210ce1e0, 0xc420bd2000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4210ce1e0, 0xc420bd2000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42030a460, 0xc420bd2000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42030a460, 0xc420bd2000)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42030a460, 0xc420bd2000)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420a12000, 0xc1a940, 0xc4207d8280)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10177 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba780, 0x72, 0xa0)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420d27098, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420d27098, 0xc421a38000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420d27030, 0xc421a38000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420846e78, 0xc421a38000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420dd1b00, 0xc421a38000, 0x1000, 0x1000, 0x0, 0x7ff23f88e000, 0xc4225b9b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421c37aa0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421c37aa0, 0x1, 0xc421cdb140, 0xc420da2c80, 0xc421d5fc01, 0x60, 0xc420da2c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420dd1b00)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10404 [select]:
net/http.(*persistConn).writeLoop(0xc421830480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13504 [select]:
net/http.(*persistConn).writeLoop(0xc426118480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 8976 [select]:
net/http.(*persistConn).roundTrip(0xc4206a7b00, 0xc4208f0f80, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420a20600, 0xc4209d2d00, 0x8cf340, 0xc42091bd98)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420a20600, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4208c6c60, 0xc420a20400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42091bb50)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4208f0ea0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4208f0ea0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208f0d00, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f0d00, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42091bb50)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4208f0e00, 0x1, 0x1, 0xc42091bb50, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4208f0e00, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208f0d00, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f0d00, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42091b8f0, 0x1, 0x1, 0xc420327170, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208f0d00, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f0d00, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc420327170, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4208f0d20, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420bf1098, 0xd70000c420d1f930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208f0d00, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208f0d00, 0x9082e0, 0x9b9438, 0xc420d1f9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc421099550)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc420327170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4208c6b40, 0xc420a20300, 0xc4208c6b70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4208c6b40, 0xc420a20300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4208c6b40, 0xc420a20300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc420ad5a40, 0xc420a20300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc420ad5a40, 0xc420a20300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc420ad5a40, 0xc420a20300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42081e320, 0xc1a940, 0xc4209d24c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 5006 [IO wait]:
net.runtime_pollWait(0x7ff23f891840, 0x72, 0x4c)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420304618, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420304618, 0xc4209395d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4203045b0, 0xc4209395d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104e090, 0xc4209395d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4209395c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10509 [IO wait]:
net.runtime_pollWait(0x7ff23f7bdaa0, 0x72, 0x58)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201c9f08, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201c9f08, 0xc422a66000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201c9ea0, 0xc422a66000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420665760, 0xc422a66000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420a04360, 0xc422a66000, 0x1000, 0x1000, 0xc420a7c140, 0x99cabf, 0xc4225a6b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4229de720)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4229de720, 0x1, 0xc4229e1a40, 0xc421ceec80, 0xc4229e7180, 0x0, 0xc420072400)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420a04360)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 15251 [IO wait]:
net.runtime_pollWait(0x7ff23f6bac00, 0x72, 0x8b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42d217e98, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42d217e98, 0xc42cb1b000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42d217e30, 0xc42cb1b000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc421e8d7e0, 0xc42cb1b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc42880cea0, 0xc42cb1b000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc429c65740)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4293482a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4293482a0, 0x1, 0xc421d53be5, 0x1, 0x0, 0xc429348300, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42880cea0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 14028 [IO wait]:
net.runtime_pollWait(0x7ff23f811248, 0x72, 0x75)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42af9b8e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42af9b8e8, 0xc422a68b51, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42af9b880, 0xc422a68b51, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4236e56b8, 0xc422a68b51, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422a68b40)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10498 [select]:
net/http.(*persistConn).writeLoop(0xc421aae240)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 10594 [IO wait]:
net.runtime_pollWait(0x7ff23f7c1fe0, 0x72, 0x72)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201c9fe8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201c9fe8, 0xc422a7c000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201c9f80, 0xc422a7c000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104f960, 0xc422a7c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421cbf200, 0xc422a7c000, 0x1000, 0x1000, 0xc420072400, 0x6450780a22a760c0, 0xc421db5b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc422a74120)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc422a74120, 0x1, 0xc4229e1c80, 0xc421cf1c80, 0xc4229e1a01, 0x60, 0xc421cf1c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421cbf200)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 13651 [IO wait]:
net.runtime_pollWait(0x7ff23f856440, 0x72, 0x6b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc424c7ca78, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc424c7ca78, 0xc4202a0391, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc424c7ca10, 0xc4202a0391, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc425e811d0, 0xc4202a0391, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4202a0380)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21741 [IO wait]:
net.runtime_pollWait(0x7ff23f857958, 0x72, 0x1e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42dbf8998, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42dbf8998, 0xc42b1a9f11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42dbf8930, 0xc42b1a9f11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42201de98, 0xc42b1a9f11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42b1a9f00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9806 [select]:
net/http.(*persistConn).writeLoop(0xc420dd0360)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 11223 [select]:
net/http.(*persistConn).writeLoop(0xc420117c20)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9536 [select]:
net/http.(*persistConn).roundTrip(0xc4209f19e0, 0xc420aea320, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420c8d000, 0xc4211b3080, 0x8cf340, 0xc4208befa8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420c8d000, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc420816930, 0xc420c8ce00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4208bedc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc420aea280, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc420aea280, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420aea080, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420aea080, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4208bedc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc420aea1e0, 0x1, 0x1, 0xc4208bedc0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc420aea1e0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc420aea080, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420aea080, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4208beb30, 0x1, 0x1, 0xc42148ddd0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420aea080, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420aea080, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42148ddd0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc420aea0a0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421314c78, 0xc00000c420d22930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc420aea080, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc420aea080, 0x9082e0, 0x9b9438, 0xc420d229b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4208b57f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42148ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc420816810, 0xc420c8cd00, 0xc420816840)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc420816810, 0xc420c8cd00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc420816810, 0xc420c8cd00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4209ed0a0, 0xc420c8cd00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4209ed0a0, 0xc420c8cd00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4209ed0a0, 0xc420c8cd00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4210b0140, 0xc1a940, 0xc4211b2d00)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 9537 [IO wait]:
net.runtime_pollWait(0x7ff23fa70470, 0x72, 0x44)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4208b56b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4208b56b8, 0xc4211b2d51, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4208b5650, 0xc4211b2d51, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c40608, 0xc4211b2d51, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4211b2d40)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10074 [select]:
net/http.(*persistConn).writeLoop(0xc4215af7a0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 11169 [select]:
net/http.(*persistConn).writeLoop(0xc4210bcb40)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 15305 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba300, 0x72, 0x59)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc424738538, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc424738538, 0xc4281d6d11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4247384d0, 0xc4281d6d11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc421e82eb0, 0xc4281d6d11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4281d6d00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 12608 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2e20, 0x72, 0x16)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc428927b18, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc428927b18, 0xc420d3c0d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc428927ab0, 0xc420d3c0d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a611e8, 0xc420d3c0d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420d3c0c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10227 [select]:
net/http.(*persistConn).roundTrip(0xc421987680, 0xc421d28b00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4216bd800, 0xc42119e300, 0x8cf340, 0xc421f696d8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4216bd800, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4212114d0, 0xc4216bd400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc421f694e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc421d28a40, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc421d28a40, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d287a0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d287a0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc421f694e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc421d28900, 0x1, 0x1, 0xc421f694e0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc421d28900, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc421d287a0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d287a0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc421f69260, 0x1, 0x1, 0xc421bd3440, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d287a0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d287a0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc421bd3440, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc421d287c0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc42163a9b8, 0xa90000c420806930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc421d287a0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc421d287a0, 0x9082e0, 0x9b9438, 0xc4208069b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420dc1a90)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc421bd3440)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4212113b0, 0xc4216bd200, 0xc4212113e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4212113b0, 0xc4216bd200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4212113b0, 0xc4216bd200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4209a2540, 0xc4216bd200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4209a2540, 0xc4216bd200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4209a2540, 0xc4216bd200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420b11040, 0xc1a940, 0xc420287e40)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10481 [IO wait]:
net.runtime_pollWait(0x7ff23f7bdce0, 0x72, 0x4e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201c7b18, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201c7b18, 0xc42296ca11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201c7ab0, 0xc42296ca11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104f860, 0xc42296ca11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42296ca00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10178 [select]:
net/http.(*persistConn).writeLoop(0xc420dd1b00)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 11261 [IO wait]:
net.runtime_pollWait(0x7ff23f85dba0, 0x72, 0x52)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421098fb8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421098fb8, 0xc421489d11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421098f50, 0xc421489d11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4206643e8, 0xc421489d11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc421489d00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 9944 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2d60, 0x72, 0x83)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421c7f1e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421c7f1e8, 0xc421dfa000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421c7f180, 0xc421dfa000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000db28, 0xc421dfa000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421c4bc20, 0xc421dfa000, 0x1000, 0x1000, 0xc421db8af8, 0x7ff23f88e000, 0xc421db8b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421d491a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421d491a0, 0x1, 0xc421da75c0, 0xc420c04480, 0xc421dbc701, 0x60, 0xc420c04460)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421c4bc20)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 15252 [select]:
net/http.(*persistConn).writeLoop(0xc42880cea0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 9945 [select]:
net/http.(*persistConn).writeLoop(0xc421c4bc20)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 10073 [IO wait]:
net.runtime_pollWait(0x7ff23f6bad80, 0x72, 0x99)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc0d88, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc0d88, 0xc42124e000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc0d20, 0xc42124e000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a4ad28, 0xc42124e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4215af7a0, 0xc42124e000, 0x1000, 0x1000, 0xc42062e800, 0x6450780a0099cabf, 0xc422146b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42126dbc0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42126dbc0, 0x1, 0xc421cda4e0, 0xc420fe0c80, 0xc421ce4720, 0x0, 0xc420622000)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4215af7a0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10119 [IO wait]:
net.runtime_pollWait(0x7ff23f6bacc0, 0x72, 0x9b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420dc0df8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420dc0df8, 0xc4212e6000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420dc0d90, 0xc4212e6000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420665328, 0xc4212e6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420b88c60, 0xc4212e6000, 0x1000, 0x1000, 0xc421cfbaf8, 0x0, 0xc421cfbb80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421d49e00)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421d49e00, 0x1, 0xc421c37920, 0xc420da2c80, 0xc421d5fc01, 0x60, 0xc420da2c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420b88c60)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10527 [select]:
net/http.(*persistConn).roundTrip(0xc420a04360, 0xc422a70100, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc422a6e200, 0xc422a4c940, 0x8cf340, 0xc422a6c418)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc422a6e200, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc422a6a240, 0xc422a6e000)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc422a6c250)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc422a70060, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc422a70060, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42297df00, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297df00, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc422a6c250)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42297dfe0, 0x1, 0x1, 0xc422a6c250, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42297dfe0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42297df00, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297df00, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4229adfe0, 0x1, 0x1, 0xc422a00510, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42297df00, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297df00, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc422a00510, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42297df20, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4229bc858, 0xb80000c4211ae930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42297df00, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297df00, 0x9082e0, 0x9b9438, 0xc4211ae9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4201971d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422a00510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc422a6a120, 0xc420b37f00, 0xc422a6a150)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc422a6a120, 0xc420b37f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc422a6a120, 0xc420b37f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421389960, 0xc420b37f00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421389960, 0xc420b37f00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421389960, 0xc420b37f00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420a4d900, 0xc1a940, 0xc422a4c5c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10280 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba0c0, 0x72, 0x7a)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210d4d18, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210d4d18, 0xc42148fe11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210d4cb0, 0xc42148fe11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420a4b000, 0xc42148fe11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42148fe00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10175 [IO wait]:
net.runtime_pollWait(0x7ff23f811488, 0x72, 0xad)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201ba0d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201ba0d8, 0xc421632000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201ba070, 0xc421632000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c21538, 0xc421632000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc421a430e0, 0xc421632000, 0x1000, 0x1000, 0xc4225a5af8, 0x401903, 0xc4225a5b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4216142a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4216142a0, 0x1, 0xc421c110e0, 0xc420b53c80, 0xc421614001, 0x60, 0xc420b53c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc421a430e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 10176 [select]:
net/http.(*persistConn).writeLoop(0xc421a430e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 17457 [select]:
net/http.(*persistConn).writeLoop(0xc430fca480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13168 [select]:
net/http.(*persistConn).roundTrip(0xc42cd4d7a0, 0xc42cf49780, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420e98600, 0xc4281d7b00, 0x8cf340, 0xc427486578)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420e98600, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4290c7b00, 0xc420e98400)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc427486220)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42cf495a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42cf495a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42cf49180, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf49180, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc427486220)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42cf49420, 0x1, 0x1, 0xc427486220, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42cf49420, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42cf49180, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf49180, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4218e5f60, 0x1, 0x1, 0xc425e8f200, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42cf49180, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf49180, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc425e8f200, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42cf491e0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc428064858, 0xe0000c420d22930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42cf49180, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42cf49180, 0x9082e0, 0x9b9438, 0xc420d229b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4284ca360)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc425e8f200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4290c79e0, 0xc420e98200, 0xc4290c7a10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4290c79e0, 0xc420e98200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4290c79e0, 0xc420e98200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4245f2380, 0xc420e98200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4245f2380, 0xc420e98200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4245f2380, 0xc420e98200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4283ae640, 0xc1a940, 0xc4281d7780)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21743 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc42e5ee000, 0x1e1, 0x1e1, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc428aff000, 0x1e1, 0x1e1, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc4313f4980, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc4313f4980)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc43235d920, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc43235d920, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc43235d7e0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc43235d7e0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4313f4980)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc43235d8c0, 0x1, 0x1, 0xc4313f4980, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc43235d8c0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc43235d7e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc43235d7e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4313f4790, 0x1, 0x1, 0xc42d7fb3b0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc43235d7e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc43235d7e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42d7fb3b0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc43235d800, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc43021e9b8, 0xf40000c421316930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc43235d7e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc43235d7e0, 0x9082e0, 0x9b9438, 0xc4213169b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc42505ec90)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42d7fb3b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42505c930, 0xc436c7d100, 0xc42505c960)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42505c930, 0xc436c7d100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42505c930, 0xc436c7d100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4224ea540, 0xc436c7d100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4224ea540, 0xc436c7d100)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4224ea540, 0xc436c7d100)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc425ae9860, 0xc1a940, 0xc42015cd80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10479 [select]:
net/http.(*persistConn).roundTrip(0xc421a439e0, 0xc42297c6e0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420b36e00, 0xc42296c8c0, 0x8cf340, 0xc420759df8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420b36e00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42161be90, 0xc420b36c00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc420759bc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42297c640, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42297c640, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42297c4e0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c4e0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420759bc0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42297c5c0, 0x1, 0x1, 0xc420759bc0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42297c5c0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42297c4e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c4e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420759930, 0x1, 0x1, 0xc4212eeab0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42297c4e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c4e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4212eeab0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42297c500, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4209db358, 0xc50000c421db9930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42297c4e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42297c4e0, 0x9082e0, 0x9b9438, 0xc421db99b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4201c7940)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4212eeab0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42161bd70, 0xc421bc7c00, 0xc42161bda0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42161bd70, 0xc421bc7c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42161bd70, 0xc421bc7c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4213887e0, 0xc421bc7c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4213887e0, 0xc421bc7c00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4213887e0, 0xc421bc7c00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421d054a0, 0xc1a940, 0xc422966940)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 10528 [IO wait]:
net.runtime_pollWait(0x7ff23f7bdf20, 0x72, 0x6d)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420197098, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420197098, 0xc422a4c611, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420197030, 0xc422a4c611, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104f948, 0xc422a4c611, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422a4c600)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10511 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd0e0, 0x72, 0x6f)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420197338, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420197338, 0xc422a4ca91, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4201972d0, 0xc422a4ca91, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42104f958, 0xc422a4ca91, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422a4ca80)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 10595 [select]:
net/http.(*persistConn).writeLoop(0xc421cbf200)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 11136 [IO wait]:
net.runtime_pollWait(0x7ff23f85e4a0, 0x72, 0x69)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420ff1338, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420ff1338, 0xc4213a6000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420ff12d0, 0xc4213a6000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420846178, 0xc4213a6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4210bcb40, 0xc4213a6000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc421ba6240)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc421ac8180)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc421ac8180, 0x1, 0xc42131bbe5, 0x1, 0x0, 0xc42178b920, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4210bcb40)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 12675 [select]:
net/http.(*persistConn).writeLoop(0xc427d0a120)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13164 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2460, 0x72, 0x74)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4217f8998, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4217f8998, 0xc427548000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4217f8930, 0xc427548000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc425a46078, 0xc427548000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc42668e7e0, 0xc427548000, 0x1000, 0x1000, 0xc4209de800, 0x6450780a0099cabf, 0xc4225ecb80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4229ea5a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4229ea5a0, 0x1, 0xc421d90ae0, 0xc4223a3480, 0xc421d90901, 0x60, 0xc4223a3460)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42668e7e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 21854 [select]:
net/http.(*persistConn).writeLoop(0xc431930480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13463 [select]:
net/http.(*persistConn).roundTrip(0xc4210b2c60, 0xc429da8c40, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc42ad47800, 0xc420e12f00, 0x8cf340, 0xc4229adca8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc42ad47800, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42221a2d0, 0xc42ad47500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4229adae0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc429da8ba0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc429da8ba0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc429da8a40, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429da8a40, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4229adae0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc429da8b20, 0x1, 0x1, 0xc4229adae0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc429da8b20, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc429da8a40, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429da8a40, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4229ad880, 0x1, 0x1, 0xc422c24090, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc429da8a40, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429da8a40, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc422c24090, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc429da8a60, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc429d04438, 0xcb0000c4225a7930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc429da8a40, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc429da8a40, 0x9082e0, 0x9b9438, 0xc4225a79b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc429e88210)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422c24090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42221a1b0, 0xc422aaeb00, 0xc42221a1e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42221a1b0, 0xc422aaeb00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42221a1b0, 0xc422aaeb00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42237cee0, 0xc422aaeb00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42237cee0, 0xc422aaeb00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42237cee0, 0xc422aaeb00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42716f0e0, 0xc1a940, 0xc4228f83c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13403 [IO wait]:
net.runtime_pollWait(0x7ff23f6ba180, 0x72, 0x65)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc428154148, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc428154148, 0xc4273a9991, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4281540e0, 0xc4273a9991, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420664128, 0xc4273a9991, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4273a9980)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21740 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc4220c0800, 0x4d5, 0x4d5, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc4220be000, 0x4d5, 0x4d5, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc42660a9a0, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc42660a9a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc4218a66c0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc4218a66c0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4218a6580, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218a6580, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42660a9a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4218a6660, 0x1, 0x1, 0xc42660a9a0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4218a6660, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4218a6580, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218a6580, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42660a7b0, 0x1, 0x1, 0xc423896ea0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4218a6580, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218a6580, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc423896ea0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4218a65a0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422bae598, 0xc50000c421316930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4218a6580, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218a6580, 0x9082e0, 0x9b9438, 0xc4213169b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc42dbf8ad0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc423896ea0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42445d4a0, 0xc42c986b00, 0xc42445d4d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42445d4a0, 0xc42c986b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42445d4a0, 0xc42c986b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4218141c0, 0xc42c986b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4218141c0, 0xc42c986b00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4218141c0, 0xc42c986b00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc432406640, 0xc1a940, 0xc42b1a9ec0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13605 [IO wait]:
net.runtime_pollWait(0x7ff23f7c2ee0, 0x72, 0x8e)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc429c687d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc429c687d8, 0xc4213f9000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc429c68770, 0xc4213f9000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc423526068, 0xc4213f9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4210b2c60, 0xc4213f9000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc429d4d860)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc429d4d6e0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc429d4d6e0, 0x1, 0xc42110cbe5, 0x1, 0x0, 0xc429d4d740, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4210b2c60)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 13086 [select]:
net/http.(*persistConn).writeLoop(0xc42668f0e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 16707 [select]:
net/http.(*persistConn).writeLoop(0xc431704480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 12607 [select]:
net/http.(*persistConn).roundTrip(0xc427d0a120, 0xc4287abf60, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc421990d00, 0xc420d3c600, 0x8cf340, 0xc42ab25e58)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc421990d00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc422e60a80, 0xc421990a00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42ab25d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4287abea0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4287abea0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4287abd40, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4287abd40, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42ab25d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4287abe20, 0x1, 0x1, 0xc42ab25d00, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4287abe20, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4287abd40, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4287abd40, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42ab25b30, 0x1, 0x1, 0xc4284f3170, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4287abd40, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4287abd40, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4284f3170, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4287abd60, 0x2, 0x2, 0xc4202aa730, 0x16, 0x8, 0x49, 0x40)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4287abd40, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x0, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4287abd40, 0x9082e0, 0x9b9438, 0xc421dba9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc428927be0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4284f3170)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc422e60960, 0xc421990900, 0xc422e60990)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc422e60960, 0xc421990900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc422e60960, 0xc421990900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4288c0c40, 0xc421990900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4288c0c40, 0xc421990900)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4288c0c40, 0xc421990900)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc426800f00, 0xc1a940, 0xc420d3c040)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 12908 [IO wait]:
net.runtime_pollWait(0x7ff23f7c20a0, 0x72, 0x51)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4201624c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4201624c8, 0xc4281d6fd1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc420162460, 0xc4281d6fd1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420c40f18, 0xc4281d6fd1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4281d6fc0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 14248 [select]:
net/http.(*persistConn).writeLoop(0xc421aae480)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 12674 [IO wait]:
net.runtime_pollWait(0x7ff23f85e020, 0x72, 0x56)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42121e8b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42121e8b8, 0xc423866000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42121e850, 0xc423866000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000c738, 0xc423866000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc427d0a120, 0xc423866000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42081aba0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42847e420)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42847e420, 0x1, 0xc4225eebe5, 0x1, 0x0, 0xc428222a80, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc427d0a120)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 12907 [select]:
net/http.(*persistConn).roundTrip(0xc428adc5a0, 0xc42698b940, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc420a20700, 0xc4281d72c0, 0x8cf340, 0xc421f6bb88)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc420a20700, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4272188a0, 0xc427e15f00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc421f6ba10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42698b880, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42698b880, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42698b720, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42698b720, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc421f6ba10)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42698b800, 0x1, 0x1, 0xc421f6ba10, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42698b800, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42698b720, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42698b720, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc421f6b800, 0x1, 0x1, 0xc4231dba70, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42698b720, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42698b720, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4231dba70, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42698b740, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4284878d8, 0x40000c4225b4930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42698b720, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42698b720, 0x9082e0, 0x9b9438, 0xc4225b49b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc420162670)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4231dba70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc427218780, 0xc427e15d00, 0xc4272187b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc427218780, 0xc427e15d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc427218780, 0xc427e15d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc421f288c0, 0xc427e15d00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc421f288c0, 0xc427e15d00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc421f288c0, 0xc427e15d00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc421904000, 0xc1a940, 0xc4281d6f80)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13444 [select]:
net/http.(*persistConn).writeLoop(0xc42cd4d7a0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 21879 [IO wait]:
net.runtime_pollWait(0x7ff23fa709b0, 0x72, 0x18)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc43023eae8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc43023eae8, 0xc42f68c891, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc43023ea80, 0xc42f68c891, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42fc374c0, 0xc42f68c891, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42f68c880)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 13402 [select]:
net/http.(*persistConn).roundTrip(0xc426694240, 0xc42074fe80, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4239f1300, 0xc4273a9cc0, 0x8cf340, 0xc428183978)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4239f1300, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42817e750, 0xc4239f0b00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4281837b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42074fdc0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42074fdc0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42074fbe0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42074fbe0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4281837b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42074fd20, 0x1, 0x1, 0xc4281837b0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42074fd20, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42074fbe0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42074fbe0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc428183540, 0x1, 0x1, 0xc42c5254d0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42074fbe0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42074fbe0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42c5254d0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42074fc40, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420d5d8d8, 0x2b0000c420ef1930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42074fbe0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42074fbe0, 0x9082e0, 0x9b9438, 0xc420ef19b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc428154280)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42c5254d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42817e630, 0xc4239f0700, 0xc42817e660)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42817e630, 0xc4239f0700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42817e630, 0xc4239f0700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc422190380, 0xc4239f0700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc422190380, 0xc4239f0700)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc422190380, 0xc4239f0700)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4239cf9a0, 0xc1a940, 0xc4273a9900)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13441 [select]:
net/http.(*persistConn).writeLoop(0xc426694240)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 13556 [IO wait]:
net.runtime_pollWait(0x7ff23f891b40, 0x72, 0x5a)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42185a3e8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42185a3e8, 0xc4228f8411, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42185a380, 0xc4228f8411, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42637a6f0, 0xc4228f8411, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4228f8400)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21880 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc42c9ba000, 0x1ec, 0x1ec, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc428afe000, 0x1ec, 0x1ec, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc42533e2e0, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc42533e2e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc42ab9c240, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc42ab9c240, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42ab9c100, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42ab9c100, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42533e2e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42ab9c1e0, 0x1, 0x1, 0xc42533e2e0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42ab9c1e0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42ab9c100, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42ab9c100, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42533e0f0, 0x1, 0x1, 0xc42ad48120, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42ab9c100, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42ab9c100, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42ad48120, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42ab9c120, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422e702d8, 0xf30000c421d56930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42ab9c100, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42ab9c100, 0x9082e0, 0x9b9438, 0xc421d569b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc430e34130)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ad48120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc431f64120, 0xc42d228000, 0xc431f64150)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc431f64120, 0xc42d228000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc431f64120, 0xc42d228000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4228cc0e0, 0xc42d228000)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4228cc0e0, 0xc42d228000)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4228cc0e0, 0xc42d228000)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42632f180, 0xc1a940, 0xc4239b5c40)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21947 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc42b392a80, 0x507, 0x507, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc428fae000, 0x507, 0x507, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc4270417f0, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc4270417f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc434ae5420, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc434ae5420, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc434ae52e0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc434ae52e0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4270417f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc434ae53c0, 0x1, 0x1, 0xc4270417f0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc434ae53c0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc434ae52e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc434ae52e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc427041600, 0x1, 0x1, 0xc434ade7e0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc434ae52e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc434ae52e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc434ade7e0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc434ae5300, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc42d1e9cf8, 0x9f0000c421d52930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc434ae52e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc434ae52e0, 0x9082e0, 0x9b9438, 0xc421d529b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc42704d5c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc434ade7e0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42bffa2a0, 0xc436b38c00, 0xc42bffa2d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42bffa2a0, 0xc436b38c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42bffa2a0, 0xc436b38c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42d2bc1c0, 0xc436b38c00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42d2bc1c0, 0xc436b38c00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42d2bc1c0, 0xc436b38c00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42682ba40, 0xc1a940, 0xc420f8bac0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 15304 [select]:
net/http.(*persistConn).roundTrip(0xc42880cea0, 0xc425119900, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc429f72b00, 0xc4281d7200, 0x8cf340, 0xc4241c3159)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc429f72b00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc423653440, 0xc429f72900)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4241c2ff0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4251196c0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4251196c0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4251192a0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4251192a0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4241c2ff0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc425119540, 0x1, 0x1, 0xc4241c2ff0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc425119540, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4251192a0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4251192a0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4241c2e30, 0x1, 0x1, 0xc422626480, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4251192a0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4251192a0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc422626480, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc425119300, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc423578858, 0x9e0000c423fa5930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4251192a0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4251192a0, 0x9082e0, 0x9b9438, 0xc423fa59b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc424738600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc422626480)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc423653320, 0xc429f72800, 0xc423653350)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc423653320, 0xc429f72800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc423653320, 0xc429f72800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc424c249a0, 0xc429f72800)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc424c249a0, 0xc429f72800)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc424c249a0, 0xc429f72800)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4275aedc0, 0xc1a940, 0xc4281d6cc0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13350 [select]:
net/http.(*persistConn).roundTrip(0xc42668e7e0, 0xc4218bcee0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc425130b00, 0xc420e13bc0, 0x8cf340, 0xc42a633f28)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc425130b00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc425245ef0, 0xc425130700)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42a633bd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4218bce40, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4218bce40, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4218bcce0, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218bcce0, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42a633bd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4218bcdc0, 0x1, 0x1, 0xc42a633bd0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4218bcdc0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4218bcce0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218bcce0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42a633900, 0x1, 0x1, 0xc4268025a0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4218bcce0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218bcce0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4268025a0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4218bcd00, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421483358, 0x8a0000c4225ec930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4218bcce0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4218bcce0, 0x9082e0, 0x9b9438, 0xc4225ec9b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4217f8600)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4268025a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc425245dd0, 0xc425130500, 0xc425245e00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc425245dd0, 0xc425130500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc425245dd0, 0xc425130500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4266c2000, 0xc425130500)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4266c2000, 0xc425130500)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4266c2000, 0xc425130500)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc422e245a0, 0xc1a940, 0xc420e13480)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 13443 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd7a0, 0x72, 0x77)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4217f9178, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4217f9178, 0xc428b5e000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4217f9110, 0xc428b5e000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420664158, 0xc428b5e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc42cd4d7a0, 0xc428b5e000, 0x1000, 0x1000, 0xc420ac6690, 0x99cabf, 0xc4225b7b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420e21260)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420e21260, 0x1, 0xc421d91320, 0xc4223a3c80, 0xc421d91101, 0x60, 0xc4223a3c60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42cd4d7a0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 13085 [IO wait]:
net.runtime_pollWait(0x7ff23f811008, 0x72, 0x78)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4281544c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4281544c8, 0xc4286bc000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc428154460, 0xc4286bc000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc420bab530, 0xc4286bc000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc42668f0e0, 0xc4286bc000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc4229eb0e0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42847e0c0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42847e0c0, 0x1, 0xc420d22be5, 0x1, 0x0, 0xc4262a0420, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42668f0e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 14141 [IO wait]:
net.runtime_pollWait(0x7ff23f85e3e0, 0x72, 0xa1)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4210c0378, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4210c0378, 0xc422a4cc91, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4210c0310, 0xc422a4cc91, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4236e4040, 0xc422a4cc91, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc422a4cc80)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 16311 [select]:
net/http.(*persistConn).roundTrip(0xc430fca480, 0xc4208c0c20, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc42970e700, 0xc426818c00, 0x8cf340, 0xc42db6d148)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc42970e700, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42c2f7aa0, 0xc42970e300)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42db6cfd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4208c0b40, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4208c0b40, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208c0980, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c0980, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42db6cfd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4208c0ac0, 0x1, 0x1, 0xc42db6cfd0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4208c0ac0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208c0980, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c0980, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42db6cdc0, 0x1, 0x1, 0xc42aa19200, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208c0980, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c0980, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42aa19200, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4208c09c0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422fd9098, 0xe80000c4225f3930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208c0980, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c0980, 0x9082e0, 0x9b9438, 0xc4225f39b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc42d321b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42aa19200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42c2f7980, 0xc42970e100, 0xc42c2f79b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42c2f7980, 0xc42970e100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42c2f7980, 0xc42970e100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4297e4380, 0xc42970e100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4297e4380, 0xc42970e100)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4297e4380, 0xc42970e100)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420f6e1e0, 0xc1a940, 0xc4268188c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 14098 [IO wait]:
net.runtime_pollWait(0x7ff23f7bd320, 0x72, 0x7d)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4264f35d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4264f35d8, 0xc42cac7000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4264f3570, 0xc42cac7000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc428481278, 0xc42cac7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc424268240, 0xc42cac7000, 0x1000, 0x1000, 0x9b9fa0, 0x0, 0xc420802b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc425ea0c00)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc425ea0c00, 0x1, 0xc42352e000, 0xc420c5bc80, 0xc426466c01, 0x60, 0xc420c5bc60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc424268240)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 17424 [IO wait]:
net.runtime_pollWait(0x7ff23f810708, 0x72, 0x27)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc421f3b9c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc421f3b9c8, 0xc4219d5000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc421f3b960, 0xc4219d5000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc435b090a0, 0xc4219d5000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc430fca480, 0xc4219d5000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc42ebed0e0)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc42ebecf60)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc42ebecf60, 0x1, 0xc421d54be5, 0x1, 0x0, 0xc42ebecfc0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc430fca480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 19065 [IO wait]:
net.runtime_pollWait(0x7ff23f85e260, 0x72, 0x2c)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42118af48, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42118af48, 0xc42148ecd1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42118aee0, 0xc42148ecd1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4308a6388, 0xc42148ecd1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42148ecc0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 16312 [IO wait]:
net.runtime_pollWait(0x7ff23f7a8240, 0x72, 0x1a)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42d321a38, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42d321a38, 0xc426818911, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42d3219d0, 0xc426818911, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc433d2efb0, 0xc426818911, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc426818900)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21706 [runnable]:
net/http.(*connReader).backgroundRead(0xc420a88840)
/usr/local/go/src/net/http/server.go:655
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21770 [IO wait]:
net.runtime_pollWait(0x7ff23f892080, 0x72, 0x19)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4275827d8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4275827d8, 0xc420a89c11, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc427582770, 0xc420a89c11, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc426152f18, 0xc420a89c11, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420a89c00)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21945 [IO wait]:
net.runtime_pollWait(0x7ff23f8577d8, 0x72, 0x32)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42583ffe8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42583ffe8, 0xc420f8b711, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42583ff80, 0xc420f8b711, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42852e7d0, 0xc420f8b711, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc420f8b700)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 16706 [IO wait]:
net.runtime_pollWait(0x7ff23f00c300, 0x72, 0xbc)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc426588c38, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc426588c38, 0xc426786000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc426588bd0, 0xc426786000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4236e4100, 0xc426786000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc431704480, 0xc426786000, 0x1000, 0x1000, 0x4, 0x450fd0, 0xc421d5e120)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4252ddf80)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4252ddf80, 0x1, 0xc4225a9be5, 0x1, 0x0, 0xc433a12060, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc431704480)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 19039 [select]:
net/http.(*persistConn).writeLoop(0xc4270338c0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 21756 [IO wait]:
net.runtime_pollWait(0x7ff23f810c48, 0x72, 0x21)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc437166298, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc437166298, 0xc425e40b91, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc437166230, 0xc425e40b91, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42a3b8558, 0xc425e40b91, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc425e40b80)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 16398 [IO wait]:
net.runtime_pollWait(0x7ff23f810dc8, 0x72, 0x15)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4272e61b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4272e61b8, 0xc42ab922d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4272e6150, 0xc42ab922d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4304a8b90, 0xc42ab922d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc42ab922c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 16397 [select]:
net/http.(*persistConn).roundTrip(0xc431704480, 0xc42f686da0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc4365c2900, 0xc42ab93100, 0x8cf340, 0xc4241c2ab8)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc4365c2900, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc42ec24f60, 0xc4365c2500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc4241c2960)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc42f686ce0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc42f686ce0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42f686b80, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42f686b80, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc4241c2960)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42f686c60, 0x1, 0x1, 0xc4241c2960, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42f686c60, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42f686b80, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42f686b80, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc4241c2790, 0x1, 0x1, 0xc431072510, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42f686b80, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42f686b80, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc431072510, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42f686ba0, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4297cb778, 0x5d0000c4206a3930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42f686b80, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42f686b80, 0x9082e0, 0x9b9438, 0xc4206a39b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc4272e6280)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc431072510)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42ec24e40, 0xc4365c2300, 0xc42ec24e70)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42ec24e40, 0xc4365c2300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42ec24e40, 0xc4365c2300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42693e2a0, 0xc4365c2300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42693e2a0, 0xc4365c2300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42693e2a0, 0xc4365c2300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc426ff4280, 0xc1a940, 0xc42ab92280)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 17496 [IO wait]:
net.runtime_pollWait(0x7ff23fa702f0, 0x72, 0x26)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42d217028, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42d217028, 0xc422e9b000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42d216fc0, 0xc422e9b000, 0x1000, 0x1000, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc433d2f048, 0xc422e9b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc42658c000, 0xc422e9b000, 0x1000, 0x1000, 0xc420622400, 0x6450780a0099cabf, 0xc421d57b80)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4310e99e0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4310e99e0, 0x1, 0xc428f597a0, 0xc42246bc80, 0xc428f59501, 0x60, 0xc42246bc60)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc42658c000)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 17490 [select]:
net/http.(*persistConn).roundTrip(0xc42658c000, 0xc4208c1cc0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xc49040, 0xc42970ff00, 0xc426819bc0, 0x8cf340, 0xc42b002549)
/usr/local/go/src/net/http/transport.go:391 +0x74c
github.com/raintank/tsdb-gw/graphite.(*proxyRetryTransport).RoundTrip(0xc420362160, 0xc42970ff00, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:68 +0x5cf
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc50900, 0x7ff23f88fd78, 0xc4275aac90, 0xc42970fb00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:205 +0x3ce
github.com/raintank/tsdb-gw/graphite.Proxy(0x4397, 0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/graphite/graphite.go:130 +0x26b
github.com/raintank/tsdb-gw/api.GraphiteProxy(0xc42b0023c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/graphite.go:8 +0x3a
reflect.Value.call(0x8cde80, 0x9b9198, 0x13, 0x995f89, 0x4, 0xc4208c1bc0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b9198, 0x13, 0xc4208c1bc0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208c1a20, 0x8cde80, 0x9b9198, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c1a20, 0x8cde80, 0x9b9198, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42b0023c0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4208c1b20, 0x1, 0x1, 0xc42b0023c0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4208c1b20, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4208c1a20, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c1a20, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42b0021b0, 0x1, 0x1, 0xc42f7fe120, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208c1a20, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c1a20, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42f7fe120, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4208c1a40, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc4213142d8, 0x2b0000c421d57930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4208c1a20, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4208c1a20, 0x9082e0, 0x9b9438, 0xc421d579b8, 0x43fd1b, 0x2, 0xc42036cf20, 0xc429f6ca60)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f7fe120)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4275aab70, 0xc42970f900, 0xc4275aaba0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4275aab70, 0xc42970f900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4275aab70, 0xc42970f900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42b1d4a80, 0xc42970f900)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42b1d4a80, 0xc42970f900)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42b1d4a80, 0xc42970f900)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420f6eaa0, 0xc1a940, 0xc426819880)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 17491 [IO wait]:
net.runtime_pollWait(0x7ff23f855f00, 0x72, 0xd)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc429f6c8b8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc429f6c8b8, 0xc4268198d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc429f6c850, 0xc4268198d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc433d2f028, 0xc4268198d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4268198c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21755 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc428fb0a80, 0x508, 0x508, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc42b390000, 0x508, 0x508, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc430073080, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc430073080)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc42d265460, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc42d265460, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42d2650a0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42d2650a0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc430073080)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42d265340, 0x1, 0x1, 0xc430073080, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42d265340, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42d2650a0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42d2650a0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc430072e90, 0x1, 0x1, 0xc4307881b0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42d2650a0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42d2650a0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4307881b0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42d265100, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc422588b18, 0xa0000c420d63930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42d2650a0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42d2650a0, 0x9082e0, 0x9b9438, 0xc420d639b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc4371663d0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4307881b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc4232bf350, 0xc423b32700, 0xc4232bf380)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc4232bf350, 0xc423b32700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc4232bf350, 0xc423b32700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42b0502a0, 0xc423b32700)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42b0502a0, 0xc423b32700)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42b0502a0, 0xc423b32700)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc425014000, 0xc1a940, 0xc425e40b40)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21631 [IO wait]:
net.runtime_pollWait(0x7ff23f857298, 0x72, 0x1f)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42752b2c8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42752b2c8, 0xc4274529d1, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42752b260, 0xc4274529d1, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42234b328, 0xc4274529d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4274529c0)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21436 [runnable]:
net/http.(*conn).serve(0xc433a42000, 0xc1aa00, 0xc4203980c0)
/usr/local/go/src/net/http/server.go:1715
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21896 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc427eaf000, 0x1fc, 0x1fc, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc427eae000, 0x1fc, 0x1fc, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc42dc1ab80, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc42dc1ab80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc42a01ef20, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc42a01ef20, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42a01ede0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42a01ede0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42dc1ab80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc42a01eec0, 0x1, 0x1, 0xc42dc1ab80, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc42a01eec0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc42a01ede0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42a01ede0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42dc1a990, 0x1, 0x1, 0xc4313c2a20, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42a01ede0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42a01ede0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4313c2a20, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc42a01ee00, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc42163ba38, 0x770000c4206a0930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc42a01ede0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc42a01ede0, 0x9082e0, 0x9b9438, 0xc4206a09b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc427cee2f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4313c2a20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc427293080, 0xc42222d300, 0xc4272930b0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc427293080, 0xc42222d300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc427293080, 0xc42222d300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc428089340, 0xc42222d300)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc428089340, 0xc42222d300)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc428089340, 0xc42222d300)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc42ae6f2c0, 0xc1a940, 0xc42d61ef00)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21705 [runnable]:
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Tree).matchLeaf(0xc42029df00, 0x0, 0xc421c1980e, 0x6, 0xc42531e420, 0xc420eef8c8, 0x2a62cd3a)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/tree.go:294 +0x313
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Tree).matchNextSegment(0xc42029df00, 0x0, 0xc421c1980e, 0x6, 0xc42531e420, 0x6c9ed1, 0x958d80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/tree.go:360 +0x121
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Tree).matchSubtree(0xc42029dd80, 0x0, 0xc421c19805, 0x8, 0xc421c1980e, 0x6, 0xc42531e420, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/tree.go:307 +0x124
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Tree).matchNextSegment(0xc42029dd80, 0x0, 0xc421c19805, 0xf, 0xc42531e420, 0xc42531e301, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/tree.go:362 +0xc1
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Tree).Match(0xc42029dd80, 0xc421c19804, 0x10, 0x3, 0xc420320be8, 0xc1d901)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/tree.go:369 +0x123
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42531e3f0, 0xc428e71b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:291 +0xcb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42531e3f0, 0xc428e71b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4288c0700, 0xc428e71b00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4288c0700, 0xc428e71b00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4288c0700, 0xc428e71b00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4283af540, 0xc1a940, 0xc420a88800)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21899 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc42b154a80, 0x506, 0x506, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc42b152000, 0x506, 0x506, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc420308a00, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc420308a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc4254d4fa0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc4254d4fa0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4254d4be0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4254d4be0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc420308a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4254d4e80, 0x1, 0x1, 0xc420308a00, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4254d4e80, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4254d4be0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4254d4be0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc420308810, 0x1, 0x1, 0xc4297a0090, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4254d4be0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4254d4be0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc4297a0090, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4254d4c40, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc424396018, 0x40fcdf, 0xc420d23870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4254d4be0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4254d4be0, 0x9082e0, 0x9b9438, 0xc4209de000, 0xc434eca150, 0xc4297a00a0, 0xc420d239b8, 0x40fd7d)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc4297a0090)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc425838570, 0xc425aa6100, 0xc4258385a0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc425838570, 0xc425aa6100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc425838570, 0xc425aa6100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc4297960e0, 0xc425aa6100)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc4297960e0, 0xc425aa6100)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc4297960e0, 0xc425aa6100)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc4265d77c0, 0xc1a940, 0xc427452980)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 21996 [IO wait]:
net.runtime_pollWait(0x7ff23f8574d8, 0x72, 0x2b)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc429bc5fe8, 0x72, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc429bc5fe8, 0xc4239b5c91, 0x1)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc429bc5f80, 0xc4239b5c91, 0x1, 0x1, 0x0, 0xc16740, 0xc11470)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42fc374d0, 0xc4239b5c91, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc4239b5c80)
/usr/local/go/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:652 +0xdf
goroutine 21878 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc426b3a000, 0x1e7, 0x1e7, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc4367e5000, 0x1e7, 0x1e7, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc42ce84870, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc42ce84870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc4216d4720, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc4216d4720, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4216d45e0, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4216d45e0, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42ce84870)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc4216d46c0, 0x1, 0x1, 0xc42ce84870, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc4216d46c0, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc4216d45e0, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4216d45e0, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42ce84680, 0x1, 0x1, 0xc42ba45c20, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4216d45e0, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4216d45e0, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42ba45c20, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc4216d4600, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc420d97cf8, 0x2c0000c421d56930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc4216d45e0, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc4216d45e0, 0x9082e0, 0x9b9438, 0xc421d569b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc43023ec20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42ba45c20)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc42ce88d50, 0xc4231a2200, 0xc42ce88d80)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc42ce88d50, 0xc4231a2200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc42ce88d50, 0xc4231a2200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc422b070a0, 0xc4231a2200)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc422b070a0, 0xc4231a2200)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc422b070a0, 0xc4231a2200)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc422c03a40, 0xc1a940, 0xc42f68c840)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
goroutine 22005 [chan receive]:
github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama.(*syncProducer).SendMessages(0xc42036cc40, 0xc4328e4d80, 0x1ad, 0x1ad, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/Shopify/sarama/sync_producer.go:133 +0x253
github.com/raintank/tsdb-gw/metric_publish.Publish(0xc4200bf600, 0x1ad, 0x1ad, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/metric_publish/publish.go:133 +0x4b6
github.com/raintank/tsdb-gw/api.metricsBinary(0xc42bffc860, 0x1)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:158 +0x4c3
github.com/raintank/tsdb-gw/api.Metrics(0xc42bffc860)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/metrics.go:28 +0x1f0
reflect.Value.call(0x8cde80, 0x9b91a8, 0x13, 0x995f89, 0x4, 0xc4221342a0, 0x1, 0x1, 0x0, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0x9b91a8, 0x13, 0xc4221342a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422134160, 0x8cde80, 0x9b91a8, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422134160, 0x8cde80, 0x9b91a8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.RequestStats.func1(0xc42bffc860)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:178 +0x9f
reflect.Value.call(0x8cde80, 0xc420362280, 0x13, 0x995f89, 0x4, 0xc422134240, 0x1, 0x1, 0xc42bffc860, 0x8cde80, ...)
/usr/local/go/src/reflect/value.go:434 +0x91f
reflect.Value.Call(0x8cde80, 0xc420362280, 0x13, 0xc422134240, 0x1, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).callInvoke(0xc422134160, 0x8cde80, 0xc420362280, 0xc212e0, 0x8cde80, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:177 +0x1df
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422134160, 0x8cde80, 0xc420362280, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:137 +0xca
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/api.Tracer.func1(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/api/middleware.go:218 +0x564
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.ContextInvoker.Invoke(0x9b91b8, 0xc42bffc670, 0x1, 0x1, 0xc42f65ddd0, 0x16, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:79 +0x51
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422134160, 0x7ff23f88e100, 0x9b91b8, 0xc212e0, 0x8ffcc0, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422134160, 0x8ffcc0, 0x9b91b8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).Next(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:112 +0x36
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.Recovery.func1(0xc42f65ddd0, 0xc4202aa730)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/recovery.go:161 +0x5b
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x9b9438, 0xc422134180, 0x2, 0x2, 0xc4202aa730, 0x16, 0xc421909358, 0xc0000c423faa930, 0x8)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/logger.go:40 +0x78
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).fastInvoke(0xc422134160, 0x7ff23f88e0d8, 0x9b9438, 0xc212e0, 0x9082e0, 0x2, 0x70, 0x8ffd80, 0x16, 0x16, ...)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:157 +0x1a2
github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject.(*injector).Invoke(0xc422134160, 0x9082e0, 0x9b9438, 0xc423faa9b8, 0x43fd1b, 0x2, 0xc42036ce60, 0xc424388670)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/go-macaron/inject/inject.go:135 +0x1cb
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Context).run(0xc42f65ddd0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/context.go:121 +0x72
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).Handle.func1(0x7ff23f88e0a0, 0xc422a220c0, 0xc4284e4a00, 0xc422a220f0)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:187 +0x2c9
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc42029b2c0, 0x7ff23f88e0a0, 0xc422a220c0, 0xc4284e4a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/router.go:296 +0x16d
github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc42029dc00, 0x7ff23f88e0a0, 0xc422a220c0, 0xc4284e4a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/gopkg.in/macaron.v1/macaron.go:220 +0x14c
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.combinedLoggingHandler.ServeHTTP(0xc14d40, 0xc42000c018, 0xc14140, 0xc42029dc00, 0xc1a0c0, 0xc42489d960, 0xc4284e4a00)
/home/ubuntu/.go_workspace/src/github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers/handlers.go:77 +0x121
github.com/raintank/tsdb-gw/vendor/github.com/gorilla/handlers.(*combinedLoggingHandler).ServeHTTP(0xc42036d300, 0xc1a0c0, 0xc42489d960, 0xc4284e4a00)
<autogenerated>:9 +0x86
net/http.serverHandler.ServeHTTP(0xc420394000, 0xc1a0c0, 0xc42489d960, 0xc4284e4a00)
/usr/local/go/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc429882320, 0xc1a940, 0xc4239b59c0)
/usr/local/go/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2668 +0x2ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment