Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated num-partitions metric tags

...

Metric Name

Type

Group

Tags

Description

JMX Bean

group-count

Gauge

group-coordinator-metrics

protocol: share

The total number of share groups managed by group coordinator.

kafka.server:type=group-coordinator-metrics,name=group-count,protocol=share 

rebalance (share-group-rebalance-rate and share-group-rebalance-count)

Meter

group-coordinator-metrics

protocol: share

The total number of share group rebalances count and rate.

kafka.server:type=group-coordinator-metrics,name=share-group-rebalance-rate

kafka.server:type=group-coordinator-metrics,name=share-group-rebalance-count

share-group-countGaugegroup-coordinator-metrics

state: {Empty|Stable|Dead} 

The number of share groups in respective state.kafka.server:type=group-coordinator-metrics,name=share-group-count,state={Empty|Stable|Dead} 

partition-load-time (partition-load-time-avg and partition-load-time-max)

Meter

share-coordinator-metrics


The time taken in milliseconds to load the share-group state from the share-group state partitions.

kafka.server:type=share-coordinator-metrics,name=partition-load-time-avg 

kafka.server:type=share-coordinator-metrcs,name=partition-load-time-max 

thread-idle-ratio (thread-idle-ratio-min and thread-idle-ratio-avg)

Meter

share-coordinator-metrics


The fraction of time the share coordinator thread is idle.

kafka.server:type=share-coordinator-metrics,name=thread-idle-ratio-min 

kafka.server:type=share-coordinator-metrics,name=thread-idle-ratio-avg 

write (write-rate and write-total)

Meter

share-coordinator-metrics


The number of share-group state write calls per second.

kafka.server:type=share-coordinator-metrics,name=write-rate 

kafka.server:type=share-coordinator-metrics,name=write-total 

write-latency (write-latency-avg and write-latency-max)

Meter

share-coordinator-metrics


The time taken for a share-group state write call, including the time to write to the share-group state topic.

kafka.server:type=share-coordinator-metrics,name=write-latency-avg 

kafka.server:type=share-coordinator-metrics,name=write-latency-max 

num-partitions

Gauge

share-coordinator-metrics

state:{loading|active|failed}

The number of partitions in the share-state topic.

kafka.server:type=share-coordinator-metrics,name=num-partitions,state={loading,active,failed}

last-pruned-offset

Gauge

share-coordinator-metrics

topic: topic name 

partition: partition index 

The offset at which the share-group state topic was last pruned.

kafka.server:type=share-coordiantor-metrics,name=last-pruned-offset 

...