Versions Compared

Key

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

...

  • type=stream-state-metrics
  • thread-id=[threadId]

Recording level is: INFO


The POC implementation of the proposed metrics can be found here: https://github.com/apache/kafka/pull/12391


Metric Name

Type

DescriptionNotes
restoring-active-tasks
countThe number of active tasks currently undergoing restoration
restoring-standby-tasks
countThe number of active tasks currently undergoing restoration
paused-active-tasks
countThe number of active tasks paused restoring
paused-standby-tasks
countThe number of standby tasks paused restoring
idle-ratio
gauge (percentage)The fraction of time the thread spent on being idleidle-ratio + restore-ratio + checkpoint-ratio should be 1
restore-ratio
gauge (percentage)The fraction of time the thread spent on restoring tasksidle-ratio + restore-ratio + checkpoint-ratio should be 1
checkpoint-ratio
gauge (percentage)The fraction of time the thread spent on checkpointing restored progressidle-ratio + restore-ratio + checkpoint-ratio should be 1
restore-records-total
countThe total number of records restored
restore-records-rate
rateThe average per-second number of records restored
restore-call-rate
rateThe average per-second number of restore calls triggered

...