Imports github.com/prometheus/client_golang/prometheus github.com/eclipse/paho.mqtt.golang github.com/go-redis/redis github.com/olivere/elastic github.com/prometheus/client_golang/prometheus/promhttp Standard library imports context crypto/tls flag fmt log net/http regexp strconv strings time