Browse Source

Make sure the remote write storage uses a dedupe logger. (#6113)

Signed-off-by: Callum Styan <callumstyan@gmail.com>
pull/6115/head
Callum Styan 5 years ago committed by Chris Marchbanks
parent
commit
84ff928606
  1. 2
      storage/remote/storage.go

2
storage/remote/storage.go

@ -52,8 +52,8 @@ func NewStorage(l log.Logger, reg prometheus.Registerer, stCallback startTimeCal
s := &Storage{
logger: logging.Dedupe(l, 1*time.Minute),
localStartTimeCallback: stCallback,
rws: NewWriteStorage(l, walDir, flushDeadline),
}
s.rws = NewWriteStorage(s.logger, walDir, flushDeadline)
return s
}

Loading…
Cancel
Save