...
- type=stream-state-metrics
- thread-id=[threadId]
Recording level is: INFO
Metric Name | Type | Description | Notes |
---|---|---|---|
restoring-active-tasks | count | The number of active tasks currently undergoing restoration | |
restoring-standby-tasks | count | The number of active tasks currently undergoing restoration | |
paused-active-tasks | count | The number of active tasks paused restoring | |
paused-standby-tasks | count | The number of standby tasks paused restoring | |
idle-ratio | gauge (percentage) | The fraction of time the thread spent on being idle | idle-ratio + restore-ratio + checkpoint-ratio should be 1 |
restore-ratio | gauge (percentage) | The fraction of time the thread spent on restoring tasks | idle-ratio + restore-ratio + checkpoint-ratio should be 1 |
checkpoint-ratio | gauge (percentage) | The fraction of time the thread spent on checkpointing restored progress | idle-ratio + restore-ratio + checkpoint-ratio should be 1 |
restore-records-total | count | The total number of records restored | |
restore-records-rate | rate | The average per-second number of records restored | |
restore-call-rate | rate | The average per-second number of restore calls triggered |
Along with these new metrics, we would also deprecate the metrics below:
Metric Name | Type | Description | Notes |
---|---|---|---|
standby-process-ratio | gauge | Task-level; the fraction of time the processing thread spent on processing this standby task | Removed since standby tasks are not processed by stream thread |
New Method in StateRestoreListener
...