mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-13 13:11:37 +01:00
app/vminsert/netstorage: log vmstorage addr, which cannot accept new samples due to overload and/or unavailability
This commit is contained in:
parent
5da7f08be6
commit
9fb5ce5fb6
@ -60,7 +60,7 @@ func (sn *storageNode) push(buf []byte, rows int) error {
|
||||
}
|
||||
if *dropSamplesOnOverload {
|
||||
sn.rowsDroppedOnOverload.Add(rows)
|
||||
logger.WithThrottler("droppedSamplesOnOverload", 5*time.Second).Warnf("some rows dropped, because -dropSamplesOnOverload is set and the current vmstorage node cannot accept new rows now. See vm_rpc_rows_dropped_on_overload_total metric at /metrics page")
|
||||
logger.WithThrottler("droppedSamplesOnOverload", 5*time.Second).Warnf("some rows dropped, because -dropSamplesOnOverload is set and vmstorage %s cannot accept new rows now. See vm_rpc_rows_dropped_on_overload_total metric at /metrics page", sn.dialer.Addr())
|
||||
return nil
|
||||
}
|
||||
// Slow path - sn cannot accept buf now, so re-route it to other vmstorage nodes.
|
||||
|
Loading…
Reference in New Issue
Block a user