You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (JIRA)" <ji...@apache.org> on 2015/01/29 15:07:35 UTC

[jira] [Commented] (CASSANDRA-8702) LatencyMetrics is reporting total latency in nanoseconds rather than microseconds

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

T Jake Luciani commented on CASSANDRA-8702:
-------------------------------------------

I see in JMX and nodetool cfstats these are all micros.  Even your message above looks like micros...

What are you expecting to see? and how did you generate the above message?

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