Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescription
kafka.controller:type=ControllerEventManager,name=ControllerThreadIdleRatioRatioGaugeThe idle ratio measures the proportion of time the controller thread is not actively processing an event.

The metric is calculated using the following formula and value ranges from 0 to 1, where 0 indicates the controller thread is constantly processing without breaks, 1 signifies the controller spends most of its time waiting for work:


                      controller idle ratio = idle_time/active_time


The components are defined as follows:

  • active_time: This is the total time the controller thread actively spends processing events or performing computation work rather than waiting for callbacks or external operations
  • idle_time: This is the total time the controller thread is not executing any instructions while waiting for either new events to appear in the queue or Raft callback.

...