-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
This bug was discovered by our cloud team. This can happen if there is a decode error.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x57eaee]
goroutine 49 [running]:
github.com/influxdata/telegraf/plugins/inputs/docker.gatherContainerStats(0x0, 0x7f214d869138, 0xc820646f00, 0xc8206a4a20)
/Users/nhaugo/src/go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:238 +0x352e
github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).gatherContainer(0xc820149cc0, 0xc820684280, 0x40, 0xc820684300, 0x1, 0x4, 0xc8206a4570, 0x25, 0xc820684380, 0x40, ...)
/Users/nhaugo/src/go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:228 +0x965
github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather.func1(0xc8206a99c0, 0xc820149cc0, 0x7f214d869138, 0xc820646f00, 0xc820684280, 0x40, 0xc820684300, 0x1, 0x4, 0xc8206a4570, ...)
/Users/nhaugo/src/go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:112 +0xa5
created by github.com/influxdata/telegraf/plugins/inputs/docker.(*Docker).Gather
/Users/nhaugo/src/go/src/github.com/influxdata/telegraf/plugins/inputs/docker/docker.go:116 +0x585
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels