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


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


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

Metric Name

Type

DescriptionNotes
standby-process-ratio
gaugeTask-level; the fraction of time the processing thread spent on processing this standby taskRemoved since standby tasks are not processed by stream thread


New Method in StateRestoreListener

...