Skip to content

Commit

Permalink
Set MetricsNamespace configurable for MemberlistKV module in Loki (#…
Browse files Browse the repository at this point in the history
…6330)

Signed-off-by: JordanRushing <rushing.jordan@gmail.com>
  • Loading branch information
JordanRushing authored Jun 7, 2022
1 parent 57d543e commit c9b374d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/loki/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ func (t *Loki) initRuler() (_ services.Service, err error) {
func (t *Loki) initMemberlistKV() (services.Service, error) {
reg := prometheus.DefaultRegisterer

t.Cfg.MemberlistKV.MetricsNamespace = "loki"
t.Cfg.MemberlistKV.MetricsRegisterer = reg
t.Cfg.MemberlistKV.Codecs = []codec.Codec{
ring.GetCodec(),
Expand Down

0 comments on commit c9b374d

Please sign in to comment.