Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

AxonOps All Kafka Dashboards Metrics Reference

This document provides a comprehensive reference of all metrics used across AxonOps Kafka dashboards, organized by metric prefix and category.

  1. System Metrics (host_ and jvm_)
  2. Kafka Controller Metrics
  3. Kafka Server Metrics
  4. Kafka Network Metrics
  5. Kafka Log Metrics
  6. Kafka Connect Metrics
  7. ZooKeeper Metrics
  8. Schema Registry Metrics
  9. Special Functions and Attributes

System-level metrics collected from the operating system and JVM, shared with Cassandra monitoring.

MetricDescriptionCommon AttributesUsed In
host_CPU_Percent_MergeMerged CPU usage percentagetime (real/user/sys), rack, host_idSystem, Performance
MetricDescriptionCommon AttributesUsed In
host_Memory_UsedUsed memory in bytesrack, host_idSystem
host_Memory_FreeFree memory in bytesrack, host_idSystem
host_Memory_TotalTotal memory in bytesrack, host_idSystem
host_Memory_BuffersBuffer memoryrack, host_idSystem
host_Memory_CachedCached memoryrack, host_idSystem
MetricDescriptionCommon AttributesUsed In
host_Disk_FreeFree disk spacepartition, rack, host_idSystem
host_Disk_SectorsReadDisk sectors readpartition, axonfunction (rate), rack, host_idSystem
host_Disk_SectorsWriteDisk sectors writtenpartition, axonfunction (rate), rack, host_idSystem
MetricDescriptionCommon AttributesUsed In
host_Network_ReceiveBytesNetwork bytes receivedinterface, axonfunction (rate), rack, host_idSystem
host_Network_TransmitBytesNetwork bytes transmittedinterface, axonfunction (rate), rack, host_idSystem
MetricDescriptionCommon AttributesUsed In
jvm_Memory_HeapHeap memory usagetype (usage/max), rack, host_idSystem
jvm_GarbageCollector_*GC metrics by collectorcollector_name, function (CollectionTime/CollectionCount), axonfunction (rate), rack, host_idSystem

Metrics related to Kafka cluster control and coordination.

MetricDescriptionCommon AttributesUsed In
kaf_KafkaController_ActiveControllerCountActive controller count (should be 1)rack, host_idOverview, Controller
kaf_KafkaController_OfflinePartitionsCountPartitions without leadersdc, rack, host_idOverview, Controller
kaf_KafkaController_PreferredReplicaImbalanceCountPartitions with non-preferred leadersdc, rack, host_idOverview
kaf_KafkaController_GlobalTopicCountTotal topics in clusterrack, host_idController
kaf_KafkaController_GlobalPartitionCountTotal partitions in clusterrack, host_idController
kaf_KafkaController_FencedBrokerCountNumber of fenced brokersrack, host_idController
kaf_KafkaController_LastAppliedRecordTimestampLast applied record timestamprack, host_idController
kaf_KafkaController_MetadataErrorCountMetadata error countrack, host_idController
kaf_ControllerStats_UncleanLeaderElectionsPerSecUnclean leader election ratefunction (MeanRate), rack, host_idOverview, Controller
kaf_ControllerStats_LeaderElectionRateAndTimeMsLeader election rate and timefunction, rack, host_idController

Core Kafka broker server metrics.

MetricDescriptionCommon AttributesUsed In
kaf_ReplicaManager_LeaderCountPartitions where broker is leaderrack, host_idOverview, Replication
kaf_ReplicaManager_PartitionCountTotal partitions on brokerdc, rack, host_idOverview, Replication
kaf_ReplicaManager_UnderReplicatedPartitionsUnder-replicated partitionsdc, rack, host_idOverview, Replication
kaf_ReplicaManager_UnderMinIsrPartitionCountPartitions under min ISRdc, rack, host_idOverview, Replication
kaf_ReplicaManager_OfflineReplicaCountOffline replica countrack, host_idReplication
kaf_ReplicaManager_IsrShrinksPerSecISR shrink ratefunction (MeanRate), rack, host_idOverview, Replication
kaf_ReplicaManager_IsrExpandsPerSecISR expansion ratefunction (MeanRate), rack, host_idOverview, Replication
kaf_ReplicaManager_ReassigningPartitionsPartitions being reassignedrack, host_idReplication
kaf_ReplicaManager_AtMinIsrPartitionCountPartitions at min ISRrack, host_idReplication
MetricDescriptionCommon AttributesUsed In
kaf_BrokerTopicMetrics_BytesInPerSecIncoming byte rateaxonfunction (rate), rack, host_id, topicOverview, Topics, Requests
kaf_BrokerTopicMetrics_BytesOutPerSecOutgoing byte rateaxonfunction (rate), rack, host_id, topicOverview, Topics, Requests
kaf_BrokerTopicMetrics_MessagesInPerSecIncoming message rateaxonfunction (rate), rack, host_id, topicOverview, Topics, Requests
kaf_BrokerTopicMetrics_TotalFetchRequestsPerSecFetch request rateaxonfunction (rate), rack, host_id, topicTopics, Requests
kaf_BrokerTopicMetrics_TotalProduceRequestsPerSecProduce request rateaxonfunction (rate), rack, host_id, topicTopics, Requests
kaf_BrokerTopicMetrics_FailedFetchRequestsPerSecFailed fetch request rateaxonfunction (rate), rack, host_id, topicTopics, Requests
kaf_BrokerTopicMetrics_FailedProduceRequestsPerSecFailed produce request rateaxonfunction (rate), rack, host_id, topicTopics, Requests
kaf_BrokerTopicMetrics_BytesRejectedPerSecRejected bytes rateaxonfunction (rate), rack, host_id, topicTopics
kaf_BrokerTopicMetrics_FetchMessageConversionsPerSecFetch message conversion rateaxonfunction (rate), rack, host_idRequests
kaf_BrokerTopicMetrics_ProduceMessageConversionsPerSecProduce message conversion rateaxonfunction (rate), rack, host_idRequests
MetricDescriptionCommon AttributesUsed In
kaf_KafkaRequestHandlerPool_RequestHandlerAvgIdlePercentRequest handler idle percentagefunction (OneMinuteRate), rack, host_idOverview, Performance
MetricDescriptionCommon AttributesUsed In
kaf_LogManager_LogDirectoryOfflineOffline log directorieslogDirectory, rack, host_idSystem
MetricDescriptionCommon AttributesUsed In
kaf_DelayedOperationPurgatory_PurgatorySizeDelayed operations in purgatorydelayedOperation (Produce/Fetch/Heartbeat), rack, host_idPerformance
MetricDescriptionCommon AttributesUsed In
kaf_RaftMetrics_CurrentLeaderCurrent Raft leaderrack, host_idController
kaf_RaftMetrics_CurrentEpochCurrent Raft epochrack, host_idController
kaf_RaftMetrics_HighWatermarkRaft high watermarkrack, host_idController
kaf_RaftMetrics_CurrentStateCurrent Raft staterack, host_idController
kaf_RaftMetrics_CommitLatencyAvgAverage commit latencyrack, host_idController
kaf_RaftMetrics_AppendRecordsRateRecord append raterack, host_idController
kaf_RaftMetrics_PollIdleRatioAvgPoll idle ratiorack, host_idController

Network and request handling metrics.

MetricDescriptionCommon AttributesUsed In
kaf_socket_server_metrics_Socket server metricsfunction (connection_count), rack, host_idOverview, Connections
kaf_SocketServer_NetworkProcessorAvgIdlePercentNetwork processor idle percentagenetworkProcessor, rack, host_idPerformance
kaf_Acceptor_AcceptorBlockedPercentAcceptor blocked percentagelistener, rack, host_idConnections
MetricDescriptionCommon AttributesUsed In
kaf_RequestMetrics_RequestsPerSecRequest rateaxonfunction (rate), function (Count), request, rack, host_idOverview, Performance, Requests
kaf_RequestMetrics_TotalTimeMsTotal request timerequest, function (percentiles/Mean), rack, host_idPerformance
kaf_RequestMetrics_LocalTimeMsLocal processing timerequest, function (percentiles/Mean), rack, host_idPerformance
kaf_RequestMetrics_RemoteTimeMsRemote processing timerequest, function (percentiles/Mean), rack, host_idPerformance
kaf_RequestMetrics_RequestQueueTimeMsTime in request queuerequest, function (percentiles/Mean), rack, host_idPerformance
kaf_RequestMetrics_ResponseQueueTimeMsTime in response queuerequest, function (percentiles/Mean), rack, host_idPerformance
kaf_RequestMetrics_ResponseSendTimeMsResponse send timerequest, function (percentiles/Mean), rack, host_idPerformance
MetricDescriptionCommon AttributesUsed In
kaf_RequestChannel_RequestQueueSizeRequest queue sizerack, host_idPerformance
kaf_RequestChannel_ResponseQueueSizeResponse queue sizeprocessor, rack, host_idPerformance

Log and partition-level metrics.

MetricDescriptionCommon AttributesUsed In
kaf_Log_NumLogSegmentsNumber of log segmentstopic, partition, rack, host_idTopics
kaf_Log_SizeLog size in bytestopic, partition, rack, host_idTopics
kaf_Log_LogEndOffsetLog end offsettopic, partition, rack, host_idTopics
kaf_Log_LogStartOffsetLog start offsettopic, partition, rack, host_idTopics
MetricDescriptionCommon AttributesUsed In
kaf_Partition_UnderReplicatedUnder-replicated partitiontopic, partition, rack, host_idReplication
kaf_Partition_AtMinIsrPartition at minimum ISRtopic, partition, rack, host_idReplication
kaf_Partition_UnderMinIsrPartition under minimum ISRtopic, partition, rack, host_idReplication
kaf_Partition_InSyncReplicasCountIn-sync replicas counttopic, partition, rack, host_idReplication
kaf_Partition_ReplicasCountTotal replicas counttopic, partition, rack, host_idReplication
kaf_Partition_LastStableOffsetLagLast stable offset lagtopic, partition, rack, host_idReplication

Metrics for Kafka Connect distributed mode.

MetricDescriptionCommon AttributesUsed In
kaf_connect_worker_metrics_task_countNumber of tasksstatus, rack, host_idConnect Overview
kaf_connect_worker_metrics_connector_countNumber of connectorsstatus, rack, host_idConnect Overview
kaf_connect_worker_metrics_connector_startup_attempts_totalConnector startup attemptsrack, host_idConnect Workers
kaf_connect_worker_metrics_connector_startup_failure_totalConnector startup failuresrack, host_idConnect Workers
kaf_connect_worker_metrics_connector_startup_success_totalConnector startup successesrack, host_idConnect Workers
kaf_connect_worker_metrics_task_startup_attempts_totalTask startup attemptsrack, host_idConnect Workers
kaf_connect_worker_metrics_task_startup_failure_totalTask startup failuresrack, host_idConnect Workers
kaf_connect_worker_metrics_task_startup_success_totalTask startup successesrack, host_idConnect Workers
kaf_connect_worker_rebalance_rebalance_completed_totalRebalances completedrack, host_idConnect Workers
kaf_connect_worker_rebalance_rebalancingCurrently rebalancingrack, host_idConnect Workers
kaf_connect_worker_rebalance_connect_protocolConnect protocolrack, host_idConnect Workers
MetricDescriptionCommon AttributesUsed In
kaf_connector_task_batch_size_avgAverage batch sizeconnector, task, rack, host_idConnect Tasks
kaf_connector_task_offset_commit_avg_time_msOffset commit timeconnector, task, rack, host_idConnect Tasks
kaf_connector_task_offset_commit_success_percentageOffset commit success rateconnector, task, rack, host_idConnect Tasks
kaf_source_task_source_record_poll_rateSource record poll rateconnector, task, rack, host_idConnect Tasks
kaf_source_task_source_record_write_rateSource record write rateconnector, task, rack, host_idConnect Tasks
kaf_sink_task_sink_record_read_rateSink record read rateconnector, task, rack, host_idConnect Tasks
kaf_sink_task_sink_record_send_rateSink record send rateconnector, task, rack, host_idConnect Tasks
kaf_sink_task_sink_record_lag_maxMaximum sink record lagconnector, task, rack, host_idConnect Tasks
MetricDescriptionCommon AttributesUsed In
kaf_task_error_deadletterqueue_produce_failuresDLQ produce failuresconnector, task, rack, host_idConnect Tasks
kaf_task_error_deadletterqueue_produce_requestsDLQ produce requestsconnector, task, rack, host_idConnect Tasks
kaf_task_error_total_errors_loggedTotal errors loggedconnector, task, rack, host_idConnect Tasks
kaf_task_error_total_record_errorsTotal record errorsconnector, task, rack, host_idConnect Tasks
kaf_task_error_total_record_failuresTotal record failuresconnector, task, rack, host_idConnect Tasks
kaf_task_error_total_retriesTotal retriesconnector, task, rack, host_idConnect Tasks

Metrics for ZooKeeper connectivity and performance.

MetricDescriptionCommon AttributesUsed In
kaf_SessionExpireListener_ZooKeeperDisconnectsPerSecZooKeeper disconnect ratefunction (MeanRate), rack, host_idZooKeeper
kaf_SessionExpireListener_ZooKeeperExpiresPerSecZooKeeper session expiry ratefunction (MeanRate), rack, host_idZooKeeper
kaf_SessionExpireListener_ZooKeeperAuthFailuresPerSecZooKeeper auth failure ratefunction (MeanRate), rack, host_idZooKeeper
kaf_SessionExpireListener_ZooKeeperSyncConnectsPerSecZooKeeper sync connect ratefunction (MeanRate), rack, host_idZooKeeper
MetricDescriptionCommon AttributesUsed In
kaf_ZooKeeperClientMetrics_ZooKeeperRequestLatencyMsZooKeeper request latencyfunction (percentiles/Max), rack, host_idZooKeeper

Metrics for consumer group coordination and lag monitoring.

MetricDescriptionCommon AttributesUsed In
kaf_GroupMetadataManager_NumGroupsTotal consumer groupsrack, host_idOverview, Consumer Groups
kaf_GroupMetadataManager_NumGroupsStableStable consumer groupsrack, host_idOverview, Consumer Groups
kaf_GroupMetadataManager_NumGroupsPreparingRebalanceGroups preparing rebalancerack, host_idOverview, Consumer Groups
kaf_GroupMetadataManager_NumGroupsDeadDead consumer groupsrack, host_idOverview, Consumer Groups
kaf_GroupMetadataManager_NumGroupsCompletingRebalanceGroups completing rebalancerack, host_idOverview, Consumer Groups
kaf_GroupMetadataManager_NumGroupsEmptyEmpty consumer groupsrack, host_idOverview, Consumer Groups
MetricDescriptionCommon AttributesUsed In
kaf_kafka_consumer_lag_millisConsumer lag in millisecondsgroup_id, topic, partition, rack, host_idConsumer Groups

Metrics for monitoring Kafka Schema Registry service health and performance.

MetricDescriptionCommon AttributesUsed In
kafka_schema_registry_registered_count_registered_countTotal registered schemasdc, rack, hostnameSchema Registry
kafka_schema_registry_deleted_count_deleted_countDeleted schemas countdc, rack, hostnameSchema Registry
kafka_schema_registry_master_slave_role_master_slave_roleNode role (1 = primary, 0 = replica)dc, rack, hostname, host_idSchema Registry
MetricDescriptionCommon AttributesUsed In
kafka_schema_registry_avro_schemas_created_avro_schemasCount of Avro schemasdc, rack, hostnameSchema Registry
kafka_schema_registry_json_schemas_created_json_schemasCount of JSON schemasdc, rack, hostnameSchema Registry
kafka_schema_registry_protobuf_schemas_created_protobuf_schemasCount of Protobuf schemasdc, rack, hostnameSchema Registry
MetricDescriptionCommon AttributesUsed In
kafka_schema_registry_jersey_metrics_request_rateRequests per seconddc, rack, hostnameSchema Registry
kafka_schema_registry_jersey_metrics_request_latency_9595th percentile request latency (ms)dc, rack, hostnameSchema Registry
kafka_schema_registry_jersey_metrics_request_error_countError responses by HTTP statusdc, rack, hostname, http_status_codeSchema Registry
MetricDescriptionCommon AttributesUsed In
kafka_producer_producer_metrics_connection_countActive producer connectionsdc, rack, hostnameSchema Registry
kafka_consumer_consumer_metrics_connection_countActive consumer connectionsdc, rack, hostnameSchema Registry
kafka_producer_producer_metrics_flush_time_nsStore flush time (ns)dc, rack, hostname, client_idSchema Registry
kafka_producer_producer_metrics_failed_authentication_rateFailed authentication ratedc, rack, hostnameSchema Registry
kafka_consumer_consumer_fetch_manager_metrics_records_consumed_rateRecords consumed ratedc, rack, hostnameSchema Registry
kafka_consumer_consumer_fetch_manager_metrics_fetch_latency_avgAverage fetch latency (ms)dc, rack, hostnameSchema Registry
kafka_consumer_consumer_fetch_manager_metrics_records_lagConsumer lag (records)dc, rack, hostnameSchema Registry
  • Percentiles: 50thPercentile, 75thPercentile, 95thPercentile, 98thPercentile, 99thPercentile, 999thPercentile

  • Rates: OneMinuteRate, FiveMinuteRate, FifteenMinuteRate, MeanRate

  • Aggregations: Count, Min, Max, Mean, Value

  • Special: axonfunction='rate' - Converts counter to rate

  • Location: dc (datacenter), rack, host_id (node)

  • Kafka Components: topic, partition, group_id, connector, task

  • Request Types: request (Produce, Fetch, Metadata, etc.)

  • Filtering: groupBy - Dynamic aggregation dimension

Common request types for RequestMetrics:

  • Produce, Fetch, Metadata, ListOffsets, OffsetCommit, OffsetFetch
  • FindCoordinator, JoinGroup, Heartbeat, LeaveGroup, SyncGroup
  • DescribeGroups, ListGroups, ApiVersions, CreateTopics, DeleteTopics

Prefix indicates source:

  • host_ - System metrics
  • jvm_ - JVM metrics
  • kaf_ - Kafka metrics

Middle part indicates component:

  • Examples: KafkaController, ReplicaManager, BrokerTopicMetrics, RequestMetrics

Suffix indicates measurement:

  • Examples: Count, PerSec, TimeMs, Percent
  • Kafka metrics use kaf_ prefix consistently
  • Many metrics use axonfunction='rate' for per-second calculations
  • Connect metrics have their own sub-namespaces for different components
  • Some metrics are topic-specific (with topic attribute) while others are cluster-wide
  • Percentile functions are commonly available for latency metrics
  • The rack and host_id attributes enable filtering by location and specific broker