Hey Xavier, Thanks for the explanation. A follow-up question, maybe to list in the future work section as it's somewhat parallel to this KIP: have you thought about implementing a REST reporter for metrics? In my opinion it would be useful as you can write it so that you directly query the registry so we'd avoid this problem.
Thanks, Viktor On Wed, Oct 30, 2019 at 4:13 AM Xavier Léauté <xav...@confluent.io> wrote: > > > > How would the practical application look like if this was implemented? > > > > One useful application is to hide partition-level metrics, some of which > may only be needed for debugging purposes. > > > > Would monitoring agents switch between the whitelist and blacklist > > periodically if they wanted to monitor every metrics? > > > > I'm not sure if switching periodically would be practical. However, I do > see cases where one might want to enable a subset of metrics temporarily > for debugging, without incurring the need to expose all metrics all the > time. > > I can certainly add some examples regular expressions to the KIP to > illustrate this. >