adikou commented on PR #22129:
URL: https://github.com/apache/kafka/pull/22129#issuecomment-4569128674

   
   > I know you said logging the metric name would suffice here, but logging 
the simple class name of the metric value provider tells me I registered the 
right stat for said metric. 
   
   For instance, it would've helped me identify a bug where I pushed a count 
metric which seemed to be increasing continually as time went by after bumping 
our kafka-client major version. (This was because `Count` was removed in 3.x 
from 2.x and I used `CumulativeCount` when I really should've used 
`WindowedCount`)


-- 
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