Skip to content

Commit

Permalink
Broker restart resets counters to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kbatuigas committed Dec 10, 2024
1 parent 2ebdddd commit f278dbc
Show file tree
Hide file tree
Showing 2 changed files with 8,043 additions and 9,482 deletions.
10 changes: 10 additions & 0 deletions modules/manage/partials/monitor-health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ This section provides guidelines and example queries using Redpanda's public met

TIP: To help detect and mitigate anomalous system behaviors, capture baseline metrics of your healthy system at different stages (at start-up, under high load, in steady state) so you can set thresholds and alerts according to those baselines.

[TIP]
====
For counter type metrics, a broker restart causes the count in tools such as Prometheus and Grafana to reset to zero. Redpanda recommends wrapping counter metrics in a rate query to account for broker restarts, for example:
[,promql]
----
rate(redpanda_kafka_records_produced_total)
----
====

=== Redpanda architecture

Understanding the unique aspects of Redpanda's architecture and data path can improve your performance, debugging, and tuning skills:
Expand Down
Loading

0 comments on commit f278dbc

Please sign in to comment.