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 706f3b2d17
commit 84ff928606

@ -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