From f36ae1c21c614e8c26109257361b17b3ffc864b0 Mon Sep 17 00:00:00 2001 From: qinng <854222409@qq.com> Date: Fri, 1 May 2020 07:06:22 +0800 Subject: [PATCH] [remote-storage] use warn log level when send samples to remote failed (#7184) [remote] increasing sendbatch error log level Signed-off-by: guoruyi1 Co-authored-by: guoruyi1 --- storage/remote/queue_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index 16bc0da14..e6c1e0ac8 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -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