lucliu1108 opened a new pull request, #21201:
URL: https://github.com/apache/kafka/pull/21201

   Ticket: https://issues.apache.org/jira/browse/KAFKA-18369
   
   ## Summary
   This PR revises 4 DefaultStateUpdate metrics for Kafka Streams: 
   - `idle-ratio`
   - `active-restore-ratio`
   - `standby-update-ratio`
   - `checkpoint-ratio`
   These metrics should represent the ratio of time spent on a certain action 
over a windowed duration, rather than an average of time spent ratio over 
iterations. This is implemented using a windowedSum aggregation for each of the 
4 metrics, similar to https://github.com/apache/kafka/pull/21160
   
   Each rolling window is controlled by 2 configs:
   1. `metrics.sample.window.ms`: The window of time a metrics sample is 
computed over, default as 30 seconds.
   2. `metrics.num.samples`:  The number of samples maintained to compute 
metrics, default as 2.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to