Imports github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp github.com/eclipse/paho.mqtt.golang github.com/sirupsen/logrus Standard library imports crypto/tls crypto/x509 encoding/json flag fmt math net/http os strconv strings time