Versions Compared

Key

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

...

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


or restore
Metric NameLevel

Type

DescriptionNotes
active-restoring-tasks
thread / INFOcountThe number of active tasks currently undergoing restoration
standby-updating-tasks
thread / INFOcountThe number of active tasks currently undergoing updating
active-paused-tasks
thread / INFOcountThe number of active tasks paused restoring
standby-paused-tasks
thread / INFOcountThe number of standby tasks paused updating
idle-ratio
thread / INFOgauge (percentage)The fraction of time the thread spent on being idleidle-ratio + restore/update-ratio + checkpoint-ratio should be 1
active-restore-ratio
thread / INFOgauge (percentage)The fraction of time the thread spent on restoring active tasksidle-ratio + restore/update-ratio + checkpoint-ratio should be 1;
only one of the restore/update-ratio should be non-zero
standby-update-ratiothread / INFOgauge (percentage)The fraction of time the thread spent on updating standby tasks

idle-ratio + restore/update-ratio + checkpoint-ratio should be 1;

only one of the restore/update-ratio should be non-zero

checkpoint-ratio
thread / INFOgauge (percentage)The fraction of time the thread spent on checkpointing restored progressidle-ratio + restore/update-ratio + checkpoint-ratio should be 1
active-restore-records-rate
thread / INFOrateThe average per-second number of records restored for all active tasksmin(active-restore-records-rate, standby-update-records-rate) == 0
standby-update-records-rate
thread / INFOrateThe average per-second number of records updated for all standby tasksmin(active-restore-records-rate, standby-update-records-rate) == 0
restore-call-rate
thread / INFOrateThe average per-second number of restore calls triggered
restore-total
task / DEBUGcountThe total number of records processed during restorationwhen the task 
records
-rate
task / DEBUGrateThe average per-second number of records restored
active-restore-remaining-records-total
task / INFOcountThe number of records remained to be restored


Along with these new metrics, we would also deprecate the metrics below:

...