File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 99 "github.com/opentracing-contrib/go-stdlib/nethttp"
1010 "github.com/opentracing/opentracing-go"
1111 "github.com/prometheus/client_golang/prometheus"
12- "github.com/prometheus/common/log"
1312 "google.golang.org/grpc"
1413
1514 "github.com/weaveworks/common/middleware"
@@ -18,7 +17,6 @@ import (
1817 "github.com/weaveworks/cortex/pkg/distributor"
1918 "github.com/weaveworks/cortex/pkg/ring"
2019 "github.com/weaveworks/cortex/pkg/util"
21- "github.com/weaveworks/promrus"
2220)
2321
2422func main () {
@@ -60,8 +58,6 @@ func main() {
6058 trace := tracing .New (jaegerAgentHost , "distributor" )
6159 defer trace .Close ()
6260
63- log .AddHook (promrus .MustNewPrometheusHook ())
64-
6561 r , err := ring .New (ringConfig )
6662 if err != nil {
6763 level .Error (util .Logger ).Log ("msg" , "error initializing ring" , "err" , err )
You can’t perform that action at this time.
0 commit comments