Versions Compared

Key

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

...

Metric NameTypeDescription
paused-partitionsGauge (Integer)The current number of partitions that have been paused by the user via Consumer.pause() .
paused-partitions-rateRateThe per-second rate of Consumer.pause()  calls.
paused-partitions-totalCumulativeCountThe total cumulative number of Consumer.pause()  calls.
paused-partitions-max-duration-seconds-maxGauge (Long)The maximum duration in seconds that any partition has been paused. Returns -1 if no partition is currently paused.

...

A paused-partitions / paused-partitions-max-duration-seconds-max  gauges and paused-partitions-rate / paused-partitions-total sensors are registered at coordinator level. When queried, these gauges compute the current count of paused partitions and max paused duration by reading from the consumer's subscription state. Sensor metrics are updated on each pause() call, incrementing the cumulative count and contributing to the rate calculation.

...