From 9fb5ce5fb675aebd0a95771ab18ea98ca6349009 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 7 Feb 2022 15:02:47 +0200 Subject: [PATCH] app/vminsert/netstorage: log vmstorage addr, which cannot accept new samples due to overload and/or unavailability --- app/vminsert/netstorage/netstorage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vminsert/netstorage/netstorage.go b/app/vminsert/netstorage/netstorage.go index d102bfeb02..b7ca7dfbdf 100644 --- a/app/vminsert/netstorage/netstorage.go +++ b/app/vminsert/netstorage/netstorage.go @@ -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.