From 9ad487b09890abc915f497b5a22e45d8105cd493 Mon Sep 17 00:00:00 2001 From: Marco Pracucci Date: Thu, 8 Aug 2024 16:03:47 +0200 Subject: [PATCH] Clarify bytes metrics description Signed-off-by: Marco Pracucci --- plugin/kprom/kprom.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/kprom/kprom.go b/plugin/kprom/kprom.go index 9d6a4700..737e4c74 100644 --- a/plugin/kprom/kprom.go +++ b/plugin/kprom/kprom.go @@ -176,7 +176,7 @@ func (m *Metrics) OnNewClient(client *kgo.Client) { Subsystem: subsystem, ConstLabels: constLabels, Name: "write_bytes_total", - Help: "Total number of bytes written", + Help: "Total number of bytes written to the TCP connection. The bytes count is tracked after compression (when used).", }, []string{"node_id"}) m.writeErrorsTotal = factory.NewCounterVec(prometheus.CounterOpts{ @@ -212,7 +212,7 @@ func (m *Metrics) OnNewClient(client *kgo.Client) { Subsystem: subsystem, ConstLabels: constLabels, Name: "read_bytes_total", - Help: "Total number of bytes read", + Help: "Total number of bytes read from the TCP connection. The bytes count is tracked before uncompression (when used).", }, []string{"node_id"}) m.readErrorsTotal = factory.NewCounterVec(prometheus.CounterOpts{