Imports github.com/Sirupsen/logrus github.com/atlassian/gostatsd/statsd github.com/atlassian/gostatsd/tester/fakesocket github.com/atlassian/gostatsd/types github.com/spf13/pflag github.com/spf13/viper Standard library imports bytes context encoding/json fmt math/rand net net/http os runtime/pprof sync/atomic time