Imports github.com/google/go-querystring/query github.com/pkg/errors github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp github.com/sirupsen/logrus github.com/tidwall/gjson Standard library imports bytes context encoding/json fmt io io/ioutil net/http sync time