Hi Guozhang Thanks for the KIP, this looks very helpful. Could you please provide more detail on the metrics planned for the state? We were just considering how to implement this ourselves because we need to track the history of stage changes. The idea was to have an accumulated "seconds in state x" metric for every state. The new rebalance metric might solve part of our use case, but it is interesting what you have planned for the state metric. best regards Patrik
On Fri, 29 Mar 2019 at 18:56, Guozhang Wang <wangg...@gmail.com> wrote: > Hello folks, > > I'd like to propose the following KIP to improve the Kafka Streams metrics > mechanism to users. This includes 1) a minor change in the public > StreamsMetrics API, and 2) a major cleanup on the Streams' own built-in > metrics hierarchy. > > Details can be found here: > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-444%3A+Augment+metrics+for+Kafka+Streams > > I'd love to hear your thoughts and feedbacks. Thanks! > > -- > -- Guozhang >