cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8702) LatencyMetrics is reporting total latency in nanoseconds rather than microseconds
Date Thu, 29 Jan 2015 14:07:35 GMT

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

Mime
View raw message