> > Since these configs will work with Kafka's own metrics library, will the > configs be part of the clients' configurations? It would be good to point > that out explicitly in the KIP. >
Those configs are currently only at the broker level. If we feel this is useful on the client as well, we could submit a similar KIP for the client side. I am not sure if the number of metrics is as problematic on the client side as on the server though. > Would the regex apply to the whole string? i.e would we be able to match > parts of the string like `type=`, `name=`, `topic=`, or would it only apply > to the values? > Yes, to keep things simple I decided to apply the regex to the entire JMX mbean string, since that's typically how a user would refer to those metrics, regardless of whether it came from KafkaMetrics or YammerMetrics I've updated the KIP to add some example filters