Skip to content

Commit

Permalink
Clarify bytes metrics description
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci committed Aug 8, 2024
1 parent 6b61d17 commit 9ad487b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/kprom/kprom.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 9ad487b

Please sign in to comment.