Versions Compared

Key

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

...

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

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=EventQueueOperationsPerformedCountControllersLongThe total number of event queue operations that were performed. This includes deferred operations.
kafka.controller:type=KafkaController,name=EventQueueOperationsTimedOutCountControllersLongThe 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 feature level of the current effective metadata version.
kafka.server:type=MetadataLoader,name=HandleLoadSnapshotCountBroker and ControllerLongThe total number of times we have loaded a KRaft snapshot since the process was started.
kafka.server:type=MetadataLoader,name=LatestSnapshotGeneratedBytesBroker and ControllerLongThe total size in bytes of the latest snapshot that the node has generated. If none have been generated yet, this is the size of the latest snapshot that was loaded. If no snapshots have been generated or 0 if there hasn't been one yetloaded, this is 0.
kafka.server:type=MetadataLoader,name=LatestSnapshotGeneratedAgeMsBroker and ControllerLongThe interval in miliseconds since the latest snapshot that the node has generated, or 0 if there hasn't been one yet. If none have been generated yet, this is approximately the time delta since the process was started.

Implementation Notes

In order to avoid excessive performance impacts from these new metrics, none of them will require locks to read.

...