Versions Compared

Key

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

...

We propose adding the following new metrics, which will be present only in KRaft mode.

NameContextTypeDescription
kafka.controller:type=KafkaController,name=TimedOutBrokerHeartbeatsControllerLong

The number of broker heartbeats that timed out on this controller since the process was started. Note that only active controllers handle heartbeats, so only they will see increases in this metric.

kafka.controller:type=KafkaController,name=EventQueueOperationsPerformedControllersLongThe total number of event queue operations that were performed. This includes deferred operations.
kafka.controller:type=KafkaController,name=EventQueueOperationsTimedOutControllersLongThe total number of event queue operations that timed out before they could be performed.
kafka.controller:type=KafkaController,name=NewActiveControllersCountControllerLongCounts the number of times this node has seen a new controller elected. A transition to the "no leader" state is not counted here. If the same controller as before becomes active, that still counts.
kafka.server:type=MetadataLoader,name=CurrentMetadataVersionBroker and ControllerIntegerOutputs the current effective metadata version as an integer value.
kafka.server:type=MetadataLoader,name=HandleLoadSnapshotCountBroker and ControllerLongThe total number of times we have loaded a KRaft snapshot since the process was started.

Rationale

TimedOutBrokerHeartbeats

...