diff --git a/plugins/inputs/docker/docker.go b/plugins/inputs/docker/docker.go index 79d506e9a..727c4342c 100644 --- a/plugins/inputs/docker/docker.go +++ b/plugins/inputs/docker/docker.go @@ -470,6 +470,8 @@ func parseSize(sizeStr string) (int64, error) { func init() { inputs.Add("docker", func() telegraf.Input { - return &Docker{} + return &Docker{ + Timeout: internal.Duration{Duration: time.Second * 5}, + } }) }