Imports github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp gopkg.in/yaml.v3 github.com/eclipse/paho.mqtt.golang Standard library imports encoding/json flag fmt io log net/http os regexp strconv strings sync time