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 fmt log net/http os strconv strings sync time