mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
app/vmagent/remotewrite: use WARN level instead of ERROR level for couldnt send a block with size ... bytes to ...
log message
This is really warning, since vmagent re-tries sending the data block until success.
This commit is contained in:
parent
1c16cbacf5
commit
890e1bd826
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ again:
|
||||||
if retryDuration > time.Minute {
|
if retryDuration > time.Minute {
|
||||||
retryDuration = time.Minute
|
retryDuration = time.Minute
|
||||||
}
|
}
|
||||||
logger.Errorf("couldn't send a block with size %d bytes to %q: %s; re-sending the block in %.3f seconds",
|
logger.Warnf("couldn't send a block with size %d bytes to %q: %s; re-sending the block in %.3f seconds",
|
||||||
len(block), c.sanitizedURL, err, retryDuration.Seconds())
|
len(block), c.sanitizedURL, err, retryDuration.Seconds())
|
||||||
t := timerpool.Get(retryDuration)
|
t := timerpool.Get(retryDuration)
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in a new issue