Imports github.com/pkg/errors github.com/influxdata/kapacitor/models github.com/influxdata/kapacitor/alert Standard library imports bytes encoding/json errors fmt io io/ioutil log net/http net/url sync/atomic time