[ 
https://issues.apache.org/jira/browse/KAFKA-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894969#comment-15894969
 ] 

Eno Thereska commented on KAFKA-4838:
-------------------------------------

Note that we do have one cache sensor, the hitRatioSensor, exposed through JMX.

> Export buffer cache metrics in JMX
> ----------------------------------
>
>                 Key: KAFKA-4838
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4838
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Eno Thereska
>            Priority: Minor
>             Fix For: 0.10.2.1
>
>
> Currently we log certain cache metrics, but don't export those via JMX, e.g., 
> in ThreadCache.flush() we have:
> log.debug("Thread {} cache stats on flush: #puts={}, #gets={}, #evicts={}, 
> #flushes={}",name, puts(), gets(), evicts(), flushes());
> We should export the hits, misses etc as metrics (with a DEBUG recording 
> level). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to