mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Log recoverable remote write errors as warnings (#8412)
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
This commit is contained in:
parent
fc8004eeec
commit
275f7e7766
|
@ -1064,7 +1064,7 @@ func sendWriteRequestWithBackoff(ctx context.Context, cfg config.QueueConfig, s
|
|||
|
||||
// If we make it this far, we've encountered a recoverable error and will retry.
|
||||
onRetry()
|
||||
level.Debug(l).Log("msg", "failed to send batch, retrying", "err", err)
|
||||
level.Warn(l).Log("msg", "Failed to send batch, retrying", "err", err)
|
||||
|
||||
time.Sleep(time.Duration(backoff))
|
||||
backoff = backoff * 2
|
||||
|
|
Loading…
Reference in a new issue