{"action":"opened","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/907","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/907/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/907/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/907/events","html_url":"https://github.com/influxdata/telegraf/issues/907","id":142694818,"number":907,"title":"Docker input panic error on invalid label","user":{"login":"dahendel","id":11720061,"avatar_url":"https://avatars.githubusercontent.com/u/11720061?v=3","gravatar_id":"","url":"https://api.github.com/users/dahendel","html_url":"https://github.com/dahendel","followers_url":"https://api.github.com/users/dahendel/followers","following_url":"https://api.github.com/users/dahendel/following{/other_user}","gists_url":"https://api.github.com/users/dahendel/gists{/gist_id}","starred_url":"https://api.github.com/users/dahendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahendel/subscriptions","organizations_url":"https://api.github.com/users/dahendel/orgs","repos_url":"https://api.github.com/users/dahendel/repos","events_url":"https://api.github.com/users/dahendel/events{/privacy}","received_events_url":"https://api.github.com/users/dahendel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-22T15:56:51Z","updated_at":"2016-03-22T15:56:51Z","closed_at":null,"body":"Trying to deploy telegraf agent in my environment which is managed by rancher, I get the below panic error. I am building telegraf from source since my container is based on Alpine Linux.\r\n\r\nI pasted the stack trace as well.\r\n\r\n`panic: descriptor Desc{fqName: \"docker_mem_inactive_anon\", help: \"Telegraf collected point 'docker_mem_inactive_anon'\", constLabels: {}, variableLabels: [cont_id cont_image cont_name host io.rancher.container.system]} is invalid: \"io.rancher.container.system\" is not a valid label name`\r\n\r\ngoroutine 109 [running]:\r\ngithub.com/prometheus/client_golang/prometheus.MustRegister(0x7f987f293378, 0xc820636120)\r\n        /go/src/github.com/prometheus/client_golang/prometheus/registry.go:119 +0x6d\r\ngithub.com/influxdata/telegraf/plugins/outputs/prometheus_client.(*PrometheusClient).Write(0xc820127540, 0xc8203d6000, 0x80, 0x80, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/plugins/outputs/prometheus_client/prometheus_client.go:96 +0x7dc\r\ngithub.com/influxdata/telegraf/internal/models.(*RunningOutput).write(0xc820086080, 0xc8203d6000, 0x80, 0x80, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/internal/models/running_output.go:128 +0xd1\r\ngithub.com/influxdata/telegraf/internal/models.(*RunningOutput).Write(0xc820086080, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/internal/models/running_output.go:103 +0xcc\r\ngithub.com/influxdata/telegraf/agent.(*Agent).flush.func1(0xc8205f2120, 0xc820086080)\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:257 +0x7a\r\ncreated by github.com/influxdata/telegraf/agent.(*Agent).flush\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:262 +0xc0\r\n\r\ngoroutine 1 [semacquire]:\r\nsync.runtime_Semacquire(0xc82055619c)\r\n        /usr/lib/go/src/runtime/sema.go:43 +0x26\r\nsync.(*WaitGroup).Wait(0xc820556190)\r\n        /usr/lib/go/src/sync/waitgroup.go:126 +0xb4\r\ngithub.com/influxdata/telegraf/agent.(*Agent).gatherParallel(0xc82002a038, 0xc8200186c0, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:150 +0x145\r\ngithub.com/influxdata/telegraf/agent.(*Agent).Run(0xc82002a038, 0xc8200184e0, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:378 +0xa84\r\nmain.main()\r\n        /go/src/github.com/influxdata/telegraf/cmd/telegraf/telegraf.go:269 +0x25f6\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n        /usr/lib/go/src/runtime/asm_amd64.s:1721 +0x1\r\n\r\ngoroutine 5 [syscall]:\r\nos/signal.loop()\r\n        /usr/lib/go/src/os/signal/signal_unix.go:22 +0x18\r\ncreated by os/signal.init.1\r\n        /usr/lib/go/src/os/signal/signal_unix.go:28 +0x37\r\n\r\ngoroutine 78 [semacquire]:\r\nsync.runtime_Syncsemacquire(0xc820578b80)\r\n        /usr/lib/go/src/runtime/sema.go:237 +0x201\r\nsync.(*Cond).Wait(0xc820578b70)\r\n        /usr/lib/go/src/sync/cond.go:62 +0x9b\r\nio.(*pipe).read(0xc820578b40, 0xc82058ea00, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:52 +0x2d2\r\nio.(*PipeReader).Read(0xc82002a950, 0xc82058ea00, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:134 +0x50\r\nencoding/json.(*Decoder).refill(0xc820179040, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:152 +0x287\r\nencoding/json.(*Decoder).readValue(0xc820179040, 0x1, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:128 +0x41b\r\nencoding/json.(*Decoder).Decode(0xc820179040, 0xd86f80, 0xc8204d7200, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:57 +0x159\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats(0xc82016e6c0, 0xc8205c0200, 0x40, 0xc820019aa0, 0x0, 0xc820019b00, 0x12a05f200, 0x0, 0x0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:817 +0x497\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer.func1(0xc8202021c0, 0xc8205c0200, 0x40, 0xc820019aa0, 0x1398e00, 0xc820019b00, 0x12a05f200)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:218 +0x9a\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:222 +0x4dc\r\n\r\ngoroutine 40 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f292a20, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc8201fa450, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc8201fa450, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).accept(0xc8201fa3f0, 0x0, 0x7f987f239720, 0xc82024c220)\r\n        /usr/lib/go/src/net/fd_unix.go:408 +0x27c\r\nnet.(*TCPListener).AcceptTCP(0xc82002a0c0, 0xc820049e10, 0x0, 0x0)\r\n        /usr/lib/go/src/net/tcpsock_posix.go:254 +0x4d\r\nnet/http.tcpKeepAliveListener.Accept(0xc82002a0c0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/server.go:2135 +0x41\r\nnet/http.(*Server).Serve(0xc8200183c0, 0x7f987f2396e8, 0xc82002a0c0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/server.go:1887 +0xb3\r\nnet/http.(*Server).ListenAndServe(0xc8200183c0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/server.go:1877 +0x136\r\ncreated by github.com/influxdata/telegraf/plugins/outputs/prometheus_client.(*PrometheusClient).Start\r\n        /go/src/github.com/influxdata/telegraf/plugins/outputs/prometheus_client/prometheus_client.go:34 +0x14a\r\n\r\ngoroutine 41 [select, locked to thread]:\r\nruntime.gopark(0x139e6e8, 0xc820521f28, 0x1165be0, 0x6, 0x18, 0x2)\r\n        /usr/lib/go/src/runtime/proc.go:185 +0x163\r\nruntime.selectgoImpl(0xc820521f28, 0x0, 0x18)\r\n        /usr/lib/go/src/runtime/select.go:392 +0xa64\r\nruntime.selectgo(0xc820521f28)\r\n        /usr/lib/go/src/runtime/select.go:212 +0x12\r\nruntime.ensureSigM.func1()\r\n        /usr/lib/go/src/runtime/signal1_unix.go:227 +0x353\r\nruntime.goexit()\r\n        /usr/lib/go/src/runtime/asm_amd64.s:1721 +0x1\r\n\r\ngoroutine 42 [chan receive]:\r\nmain.main.func2(0xc820018540, 0xc8200184e0, 0xc820124540)\r\n        /go/src/github.com/influxdata/telegraf/cmd/telegraf/telegraf.go:241 +0x47\r\ncreated by main.main\r\n        /go/src/github.com/influxdata/telegraf/cmd/telegraf/telegraf.go:251 +0x1ec3\r\n\r\ngoroutine 45 [select]:\r\ngithub.com/influxdata/telegraf/agent.(*Agent).flusher(0xc82002a038, 0xc8200184e0, 0xc8200186c0, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:277 +0x340\r\ngithub.com/influxdata/telegraf/agent.(*Agent).Run.func1(0xc82013cb20, 0xc82002a038, 0xc8200184e0, 0xc8200186c0)\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:355 +0x7f\r\ncreated by github.com/influxdata/telegraf/agent.(*Agent).Run\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:359 +0x938\r\n\r\ngoroutine 31 [chan receive]:\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer(0xc8202021c0, 0xc8205c0200, 0x40, 0xc8205a33c0, 0x11, 0xc820401890, 0x4, 0x56f169b0, 0xc8204019c0, 0xd, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:224 +0x509\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather.func1(0xc820401ed0, 0xc8202021c0, 0x7f987f239748, 0xc82012f3c0, 0xc8205c0200, 0x40, 0xc8205a33c0, 0x11, 0xc820401890, 0x4, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:104 +0xa5\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:108 +0x4c6\r\n\r\ngoroutine 33 [chan receive]:\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer(0xc8202021c0, 0xc8205c0380, 0x40, 0xc8205a3f00, 0x1d, 0xc8203fb2c0, 0x27, 0x56e98324, 0xc820401db0, 0xb, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:224 +0x509\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather.func1(0xc820401ed0, 0xc8202021c0, 0x7f987f239748, 0xc82012f3c0, 0xc8205c0380, 0x40, 0xc8205a3f00, 0x1d, 0xc8203fb2c0, 0x27, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:104 +0xa5\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:108 +0x4c6\r\n\r\ngoroutine 100 [semacquire]:\r\nsync.runtime_Syncsemacquire(0xc8204aa4c0)\r\n        /usr/lib/go/src/runtime/sema.go:237 +0x201\r\nsync.(*Cond).Wait(0xc8204aa4b0)\r\n        /usr/lib/go/src/sync/cond.go:62 +0x9b\r\nio.(*pipe).read(0xc8204aa480, 0xc82014be00, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:52 +0x2d2\r\nio.(*PipeReader).Read(0xc8200bc108, 0xc82014be00, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:134 +0x50\r\nencoding/json.(*Decoder).refill(0xc82024a680, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:152 +0x287\r\nencoding/json.(*Decoder).readValue(0xc82024a680, 0x1, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:128 +0x41b\r\nencoding/json.(*Decoder).Decode(0xc82024a680, 0xd86f80, 0xc8201c3500, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:57 +0x159\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats(0xc82016e6c0, 0xc8205c0480, 0x40, 0xc820147320, 0xc820024f00, 0xc820147380, 0x12a05f200, 0x0, 0x0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:817 +0x497\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer.func1(0xc8202021c0, 0xc8205c0480, 0x40, 0xc820147320, 0x1398e00, 0xc820147380, 0x12a05f200)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:218 +0x9a\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:222 +0x4dc\r\n\r\ngoroutine 89 [semacquire]:\r\nsync.runtime_Semacquire(0xc820401edc)\r\n        /usr/lib/go/src/runtime/sema.go:43 +0x26\r\nsync.(*WaitGroup).Wait(0xc820401ed0)\r\n        /usr/lib/go/src/sync/waitgroup.go:126 +0xb4\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather(0xc8202021c0, 0x7f987f239748, 0xc82012f3c0, 0x0, 0x0)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:110 +0x501\r\ngithub.com/influxdata/telegraf/agent.(*Agent).gatherParallel.func1(0xc820556190, 0xc8200186c0, 0xc82002a038, 0x0, 0xc8201186f0)\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:139 +0x432\r\ncreated by github.com/influxdata/telegraf/agent.(*Agent).gatherParallel\r\n        /go/src/github.com/influxdata/telegraf/agent/agent.go:143 +0x442\r\n\r\ngoroutine 29 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f292ae0, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc82051a8b0, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc82051a8b0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc82051a850, 0xc820588000, 0x1000, 0x1000, 0x0, 0x7f987f325050, 0xc820012170)\r\n        /usr/lib/go/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc8200bc088, 0xc820588000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/net.go:172 +0xe4\r\nnet/http.noteEOFReader.Read(0x7f987f32aa18, 0xc8200bc088, 0xc8201d2058, 0xc820588000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/transport.go:1370 +0x67\r\nnet/http.(*noteEOFReader).Read(0xc820573680, 0xc820588000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        <autogenerated>:126 +0xd0\r\nbufio.(*Reader).fill(0xc8201471a0)\r\n        /usr/lib/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).Peek(0xc8201471a0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:132 +0xcc\r\nnet/http.(*persistConn).readLoop(0xc8201d2000)\r\n        /usr/lib/go/src/net/http/transport.go:876 +0xf7\r\ncreated by net/http.(*Transport).dialConn\r\n        /usr/lib/go/src/net/http/transport.go:685 +0xc78\r\n\r\ngoroutine 75 [semacquire]:\r\nsync.runtime_Syncsemacquire(0xc820578ac0)\r\n        /usr/lib/go/src/runtime/sema.go:237 +0x201\r\nsync.(*Cond).Wait(0xc820578ab0)\r\n        /usr/lib/go/src/sync/cond.go:62 +0x9b\r\nio.(*pipe).read(0xc820578a80, 0xc82058e800, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:52 +0x2d2\r\nio.(*PipeReader).Read(0xc82002a940, 0xc82058e800, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:134 +0x50\r\nencoding/json.(*Decoder).refill(0xc820178ea0, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:152 +0x287\r\nencoding/json.(*Decoder).readValue(0xc820178ea0, 0x1, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:128 +0x41b\r\nencoding/json.(*Decoder).Decode(0xc820178ea0, 0xd86f80, 0xc8204d6f00, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:57 +0x159\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats(0xc82016e6c0, 0xc8205c02c0, 0x40, 0xc820019920, 0xc820025f00, 0xc820019980, 0x12a05f200, 0x0, 0x0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:817 +0x497\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer.func1(0xc8202021c0, 0xc8205c02c0, 0x40, 0xc820019920, 0xc8200bc000, 0xc820019980, 0x12a05f200)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:218 +0x9a\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:222 +0x4dc\r\n\r\ngoroutine 76 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f292720, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc820124a70, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc820124a70, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc820124a10, 0xc8205c3000, 0x1000, 0x1000, 0x0, 0x7f987f325050, 0xc820012170)\r\n        /usr/lib/go/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc82002a960, 0xc8205c3000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/net.go:172 +0xe4\r\nbufio.(*Reader).fill(0xc820019ce0)\r\n        /usr/lib/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).ReadSlice(0xc820019ce0, 0xc81ffd130a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:328 +0x21a\r\nbufio.(*Reader).ReadLine(0xc820019ce0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:357 +0x53\r\nnet/textproto.(*Reader).readLineSlice(0xc8201b7a30, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:55 +0x81\r\nnet/textproto.(*Reader).ReadLine(0xc8201b7a30, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:36 +0x40\r\nnet/http.ReadResponse(0xc820019ce0, 0xc8205a76c0, 0xb108f8f, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/response.go:128 +0xf6\r\ngithub.com/fsouza/go-dockerclient.(*Client).stream(0xc82016e6c0, 0x115b4c0, 0x3, 0xc820019c20, 0x5f, 0x10100, 0x0, 0x0, 0x0, 0x7f987f293328, ...)\r\n        /go/src/github.com/fsouza/go-dockerclient/client.go:490 +0x85f\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func2(0xc82016e6c0, 0xc8205c02c0, 0x40, 0xc820019920, 0xc820019900, 0xc820019980, 0x12a05f200, 0xc82002a948, 0xc8200199e0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:782 +0x26d\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:801 +0x2e5\r\n\r\ngoroutine 99 [chan receive]:\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer(0xc8202021c0, 0xc8205c0480, 0x40, 0xc820401e40, 0xe, 0xc8205e02e0, 0x1b, 0x56e97c35, 0xc820401ec0, 0xb, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:224 +0x509\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather.func1(0xc820401ed0, 0xc8202021c0, 0x7f987f239748, 0xc82012f3c0, 0xc8205c0480, 0x40, 0xc820401e40, 0xe, 0xc8205e02e0, 0x1b, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:104 +0xa5\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:108 +0x4c6\r\n\r\ngoroutine 98 [chan receive]:\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer(0xc8202021c0, 0xc8205c0400, 0x40, 0xc8205e01e0, 0x15, 0xc820401dd0, 0xb, 0x56e9825c, 0xc820401e20, 0xb, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:224 +0x509\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather.func1(0xc820401ed0, 0xc8202021c0, 0x7f987f239748, 0xc82012f3c0, 0xc8205c0400, 0x40, 0xc8205e01e0, 0x15, 0xc820401dd0, 0xb, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:104 +0xa5\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:108 +0x4c6\r\n\r\ngoroutine 79 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f292960, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc820124ca0, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc820124ca0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc820124c40, 0xc8205f1000, 0x1000, 0x1000, 0x0, 0x7f987f325050, 0xc820012170)\r\n        /usr/lib/go/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc82002a968, 0xc8205f1000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/net.go:172 +0xe4\r\nbufio.(*Reader).fill(0xc820019e60)\r\n        /usr/lib/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).ReadSlice(0xc820019e60, 0xc81ffd130a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:328 +0x21a\r\nbufio.(*Reader).ReadLine(0xc820019e60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:357 +0x53\r\nnet/textproto.(*Reader).readLineSlice(0xc82054da30, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:55 +0x81\r\nnet/textproto.(*Reader).ReadLine(0xc82054da30, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:36 +0x40\r\nnet/http.ReadResponse(0xc820019e60, 0xc8205a77a0, 0xb1305bb, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/response.go:128 +0xf6\r\ngithub.com/fsouza/go-dockerclient.(*Client).stream(0xc82016e6c0, 0x115b4c0, 0x3, 0xc820019da0, 0x5f, 0x10100, 0x0, 0x0, 0x0, 0x7f987f293328, ...)\r\n        /go/src/github.com/fsouza/go-dockerclient/client.go:490 +0x85f\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func2(0xc82016e6c0, 0xc8205c0200, 0x40, 0xc820019aa0, 0xc820019b00, 0xc820019b00, 0x12a05f200, 0xc82002a958, 0xc820019b60)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:782 +0x26d\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:801 +0x2e5\r\n\r\ngoroutine 30 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc8201d2000)\r\n        /usr/lib/go/src/net/http/transport.go:1009 +0x40c\r\ncreated by net/http.(*Transport).dialConn\r\n        /usr/lib/go/src/net/http/transport.go:686 +0xc9d\r\n\r\ngoroutine 77 [select]:\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func3(0xc8205c02c0, 0x40, 0xc820019920, 0xc820019900, 0xc820019980, 0x12a05f200, 0xc82002a940, 0xc820019a40)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:807 +0xe3\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:813 +0x3a7\r\n\r\ngoroutine 32 [chan receive]:\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer(0xc8202021c0, 0xc8205c02c0, 0x40, 0xc8205a3720, 0x18, 0xc8205a3740, 0x13, 0x56f16888, 0xc820401c30, 0xc, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:224 +0x509\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather.func1(0xc820401ed0, 0xc8202021c0, 0x7f987f239748, 0xc82012f3c0, 0xc8205c02c0, 0x40, 0xc8205a3720, 0x18, 0xc8205a3740, 0x13, ...)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:104 +0xa5\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:108 +0x4c6\r\n\r\ngoroutine 101 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f2928a0, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc82051aed0, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc82051aed0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc82051ae70, 0xc8205df000, 0x1000, 0x1000, 0x0, 0x7f987f325050, 0xc820012170)\r\n        /usr/lib/go/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc8200bc138, 0xc8205df000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/net.go:172 +0xe4\r\nbufio.(*Reader).fill(0xc820147860)\r\n        /usr/lib/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).ReadSlice(0xc820147860, 0xc81ffd6c0a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:328 +0x21a\r\nbufio.(*Reader).ReadLine(0xc820147860, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:357 +0x53\r\nnet/textproto.(*Reader).readLineSlice(0xc8201b5a30, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:55 +0x81\r\nnet/textproto.(*Reader).ReadLine(0xc8201b5a30, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:36 +0x40\r\nnet/http.ReadResponse(0xc820147860, 0xc8200c6460, 0xb1087a2, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/response.go:128 +0xf6\r\ngithub.com/fsouza/go-dockerclient.(*Client).stream(0xc82016e6c0, 0x115b4c0, 0x3, 0xc8201477a0, 0x5f, 0x10100, 0x0, 0x0, 0x0, 0x7f987f293328, ...)\r\n        /go/src/github.com/fsouza/go-dockerclient/client.go:490 +0x85f\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func2(0xc82016e6c0, 0xc8205c0480, 0x40, 0xc820147320, 0xc820147300, 0xc820147380, 0x12a05f200, 0xc8200bc110, 0xc8201473e0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:782 +0x26d\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:801 +0x2e5\r\n\r\ngoroutine 102 [select]:\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func3(0xc8205c0480, 0x40, 0xc820147320, 0xc820147300, 0xc820147380, 0x12a05f200, 0xc8200bc108, 0xc820147440)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:807 +0xe3\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:813 +0x3a7\r\n\r\ngoroutine 103 [semacquire]:\r\nsync.runtime_Syncsemacquire(0xc8204aa580)\r\n        /usr/lib/go/src/runtime/sema.go:237 +0x201\r\nsync.(*Cond).Wait(0xc8204aa570)\r\n        /usr/lib/go/src/sync/cond.go:62 +0x9b\r\nio.(*pipe).read(0xc8204aa540, 0xc8205e4000, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:52 +0x2d2\r\nio.(*PipeReader).Read(0xc8200bc118, 0xc8205e4000, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:134 +0x50\r\nencoding/json.(*Decoder).refill(0xc82024a820, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:152 +0x287\r\nencoding/json.(*Decoder).readValue(0xc82024a820, 0x1, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:128 +0x41b\r\nencoding/json.(*Decoder).Decode(0xc82024a820, 0xd86f80, 0xc8201c3800, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:57 +0x159\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats(0xc82016e6c0, 0xc8205c0380, 0x40, 0xc8201474a0, 0xc820025700, 0xc820147500, 0x12a05f200, 0x0, 0x0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:817 +0x497\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer.func1(0xc8202021c0, 0xc8205c0380, 0x40, 0xc8201474a0, 0x1398e00, 0xc820147500, 0x12a05f200)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:218 +0x9a\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:222 +0x4dc\r\n\r\ngoroutine 104 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f2927e0, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc82051b020, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc82051b020, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc82051afc0, 0xc8205ef000, 0x1000, 0x1000, 0x0, 0x7f987f325050, 0xc820012170)\r\n        /usr/lib/go/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc8200bc140, 0xc8205ef000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/net.go:172 +0xe4\r\nbufio.(*Reader).fill(0xc8201479e0)\r\n        /usr/lib/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).ReadSlice(0xc8201479e0, 0xc81ffd6c0a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:328 +0x21a\r\nbufio.(*Reader).ReadLine(0xc8201479e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:357 +0x53\r\nnet/textproto.(*Reader).readLineSlice(0xc8201b1a30, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:55 +0x81\r\nnet/textproto.(*Reader).ReadLine(0xc8201b1a30, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:36 +0x40\r\nnet/http.ReadResponse(0xc8201479e0, 0xc8200c6540, 0xb125519, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/response.go:128 +0xf6\r\ngithub.com/fsouza/go-dockerclient.(*Client).stream(0xc82016e6c0, 0x115b4c0, 0x3, 0xc820147920, 0x5f, 0x10100, 0x0, 0x0, 0x0, 0x7f987f293328, ...)\r\n        /go/src/github.com/fsouza/go-dockerclient/client.go:490 +0x85f\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func2(0xc82016e6c0, 0xc8205c0380, 0x40, 0xc8201474a0, 0xc820147500, 0xc820147500, 0x12a05f200, 0xc8200bc120, 0xc820147560)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:782 +0x26d\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:801 +0x2e5\r\n\r\ngoroutine 105 [select]:\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func3(0xc8205c0380, 0x40, 0xc8201474a0, 0xc820147400, 0xc820147500, 0x12a05f200, 0xc8200bc118, 0xc8201475c0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:807 +0xe3\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:813 +0x3a7\r\n\r\ngoroutine 80 [select]:\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func3(0xc8205c0200, 0x40, 0xc820019aa0, 0xc820019a00, 0xc820019b00, 0x12a05f200, 0xc82002a950, 0xc820019bc0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:807 +0xe3\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:813 +0x3a7\r\n\r\ngoroutine 106 [semacquire]:\r\nsync.runtime_Syncsemacquire(0xc8204aa640)\r\n        /usr/lib/go/src/runtime/sema.go:237 +0x201\r\nsync.(*Cond).Wait(0xc8204aa630)\r\n        /usr/lib/go/src/sync/cond.go:62 +0x9b\r\nio.(*pipe).read(0xc8204aa600, 0xc8205e4200, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:52 +0x2d2\r\nio.(*PipeReader).Read(0xc8200bc128, 0xc8205e4200, 0x200, 0x200, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/io/pipe.go:134 +0x50\r\nencoding/json.(*Decoder).refill(0xc82024a9c0, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:152 +0x287\r\nencoding/json.(*Decoder).readValue(0xc82024a9c0, 0x1, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:128 +0x41b\r\nencoding/json.(*Decoder).Decode(0xc82024a9c0, 0xd86f80, 0xc8201c3b00, 0x0, 0x0)\r\n        /usr/lib/go/src/encoding/json/stream.go:57 +0x159\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats(0xc82016e6c0, 0xc8205c0400, 0x40, 0xc820147620, 0xc820029700, 0xc820147680, 0x12a05f200, 0x0, 0x0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:817 +0x497\r\ngithub.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer.func1(0xc8202021c0, 0xc8205c0400, 0x40, 0xc820147620, 0x7f987f1f8100, 0xc820147680, 0x12a05f200)\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:218 +0x9a\r\ncreated by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer\r\n        /go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:222 +0x4dc\r\n\r\ngoroutine 107 [IO wait]:\r\nnet.runtime_pollWait(0x7f987f292660, 0x72, 0xc820012170)\r\n        /usr/lib/go/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc82051b170, 0x72, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc82051b170, 0x0, 0x0)\r\n        /usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc82051b110, 0xc8205f5000, 0x1000, 0x1000, 0x0, 0x7f987f325050, 0xc820012170)\r\n        /usr/lib/go/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc8200bc148, 0xc8205f5000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/net.go:172 +0xe4\r\nbufio.(*Reader).fill(0xc820147b60)\r\n        /usr/lib/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).ReadSlice(0xc820147b60, 0xc81ffd6c0a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:328 +0x21a\r\nbufio.(*Reader).ReadLine(0xc820147b60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/bufio/bufio.go:357 +0x53\r\nnet/textproto.(*Reader).readLineSlice(0xc8201b3a30, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:55 +0x81\r\nnet/textproto.(*Reader).ReadLine(0xc8201b3a30, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/go/src/net/textproto/reader.go:36 +0x40\r\nnet/http.ReadResponse(0xc820147b60, 0xc8200c6620, 0xb13d295, 0x0, 0x0)\r\n        /usr/lib/go/src/net/http/response.go:128 +0xf6\r\ngithub.com/fsouza/go-dockerclient.(*Client).stream(0xc82016e6c0, 0x115b4c0, 0x3, 0xc820147aa0, 0x5f, 0x10100, 0x0, 0x0, 0x0, 0x7f987f293328, ...)\r\n        /go/src/github.com/fsouza/go-dockerclient/client.go:490 +0x85f\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func2(0xc82016e6c0, 0xc8205c0400, 0x40, 0xc820147620, 0xc820147600, 0xc820147680, 0x12a05f200, 0xc8200bc130, 0xc8201476e0)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:782 +0x26d\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:801 +0x2e5\r\n\r\ngoroutine 108 [select]:\r\ngithub.com/fsouza/go-dockerclient.(*Client).Stats.func3(0xc8205c0400, 0x40, 0xc820147620, 0xc820147600, 0xc820147680, 0x12a05f200, 0xc8200bc128, 0xc820147740)\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:807 +0xe3\r\ncreated by github.com/fsouza/go-dockerclient.(*Client).Stats\r\n        /go/src/github.com/fsouza/go-dockerclient/container.go:813 +0x3a7"}}