Imports github.com/cortexproject/cortex/pkg/util github.com/cortexproject/cortex/pkg/util/services github.com/go-kit/kit/log/level github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promauto Standard library imports bytes context crypto/sha256 errors flag fmt io io/ioutil sync time