mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-04 16:51:11 +01: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
39ef1e7a51
commit
8e7d1f8824
@ -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 New Issue
Block a user