[
https://issues.apache.org/jira/browse/CASSANDRA-8702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296964#comment-14296964
]
Mike Adamson commented on CASSANDRA-8702:
-----------------------------------------
The values came from JMC looking at the <cfs>.WriteLatency.Min,
<cfs>.WriteLatency. Max and <cfs>.WriteTotalLatency.Count.
If the Min is 315.853 wouldn't you expect the WriteTotalLatency.Count to be
~340 not 339667? or am I missing something here (likely).
> LatencyMetrics is reporting total latency in nanoseconds rather than
> microseconds
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-8702
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8702
> Project: Cassandra
> Issue Type: Bug
> Reporter: Mike Adamson
> Assignee: T Jake Luciani
> Fix For: 3.0
>
>
> I don't know if this is the desired behaviour but all the comments in the
> code indicate that it should be reporting microseconds.
> A single write shows the following:
> {code}
> WriteLatency
> ------------
> Count: 1
> Min: 315.853
> Max: 379.022
> WriteTotalLatency
> -----------------
> Count: 339667
> {code}
> In LatencyMetrics:
> {code}
> /** Total latency in micro sec */
> public final Counter totalLatency;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)