Imports github.com/namsral/flag github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/common/log Standard library imports bytes crypto/tls encoding/json fmt io/ioutil net/http os strings time