Imports github.com/influxdata/telegraf/internal/errchan github.com/influxdata/telegraf/internal github.com/influxdata/telegraf github.com/influxdata/telegraf/plugins/inputs Standard library imports encoding/json fmt io/ioutil net/http net/url sync time