[remote-storage] use warn log level when send samples to remote failed (#7184)
[remote] increasing sendbatch error log level Signed-off-by: guoruyi1 <guoruyi1@xiaomi.com> Co-authored-by: guoruyi1 <guoruyi1@xiaomi.com>
This commit is contained in:
parent
1c48005911
commit
f36ae1c21c
|
@ -904,7 +904,7 @@ func (s *shards) sendSamplesWithBackoff(ctx context.Context, samples []prompb.Ti
|
|||
return err
|
||||
}
|
||||
s.qm.retriedSamplesTotal.Add(float64(len(samples)))
|
||||
level.Debug(s.qm.logger).Log("msg", "Failed to send batch, retrying", "err", err)
|
||||
level.Warn(s.qm.logger).Log("msg", "Failed to send batch, retrying", "err", err)
|
||||
|
||||
time.Sleep(time.Duration(backoff))
|
||||
backoff = backoff * 2
|
||||
|
|
Loading…
Reference in New Issue