Guozhang Wang created KAFKA-13243:
-------------------------------------

             Summary: Differentiate metric latency measured in millis and nanos
                 Key: KAFKA-13243
                 URL: https://issues.apache.org/jira/browse/KAFKA-13243
             Project: Kafka
          Issue Type: Improvement
          Components: metrics
            Reporter: Guozhang Wang


Today most of the client latency metrics are measured in millis, and some in 
nanos. For those measured in nanos we usually differentiate them by having a 
`-ns` suffix in the metric names, e.g. `io-wait-time-ns-avg` and 
`io-time-ns-avg`. But there are a few that we obviously forgot to follow this 
pattern, e.g. `io-wait-time-total`: it is inconsistent where `avg` has `-ns` 
suffix and `total` has not. I did a quick search and found just two of them:

* bufferpool-wait-time-total : bufferpool-wait-time-ns-total
* io-wait-time-total: io-wait-time-ns-total

We should change their name accordingly with the `-ns` suffix as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to