@@ -27,8 +27,10 @@ import (
2727 "github.com/grafana/dskit/dns"
2828 "github.com/grafana/dskit/kv/codec"
2929 "github.com/grafana/dskit/kv/memberlist"
30+ "github.com/grafana/dskit/middleware"
3031 "github.com/grafana/dskit/modules"
3132 "github.com/grafana/dskit/ring"
33+ "github.com/grafana/dskit/server"
3234 "github.com/grafana/dskit/services"
3335 "github.com/intergral/deep/modules/compactor"
3436 "github.com/intergral/deep/modules/distributor"
@@ -56,8 +58,6 @@ import (
5658 jsoniter "github.com/json-iterator/go"
5759 "github.com/prometheus/client_golang/prometheus"
5860 "github.com/prometheus/client_golang/prometheus/collectors"
59- "github.com/weaveworks/common/middleware"
60- "github.com/weaveworks/common/server"
6161)
6262
6363// The various modules that make up deep.
@@ -450,7 +450,6 @@ func (t *App) initStore() (services.Service, error) {
450450
451451func (t * App ) initMemberListKV () (services.Service , error ) {
452452 reg := prometheus .DefaultRegisterer
453- t .cfg .MemberlistKV .MetricsRegisterer = reg
454453 t .cfg .MemberlistKV .MetricsNamespace = metricsNamespace
455454 t .cfg .MemberlistKV .Codecs = []codec.Codec {
456455 ring .GetCodec (),
0 commit comments