2. Monitoring
Last updated
Was this helpful?
Last updated
Was this helpful?
Monitoring is essential for gaining insights into the performance of the load balancing algorithm. In this section, we will discuss the key metrics to monitor and how to interpret them.
This metric indicates the total number of bundles that have been unloaded. When the value of this metric increases, it signifies that the load balancing algorithm is actively unloading bundles.
The metric name has changed from pulsar_lb_unload_bundle_count
to pulsar_lb_unload_bundles_total
since version 2.11.0 by PR: .
note: this metric will only be exported by the leader broker, so you can identify the leader broker by checking the pulsar_lb_leader_broker
metric.
CPU usage is a critical metric to monitor.
Though the direct memory usage metric and the memory usage metric are not closely related to the actual load, we still need to monitor them to avoid OOM errors.