Imports github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/client_golang/prometheus/promhttp github.com/paulbellamy/ratecounter Standard library imports encoding/json flag fmt log math/rand net/http os strconv sync time