Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-8702

LatencyMetrics is reporting total latency in nanoseconds rather than microseconds

    XMLWordPrintableJSON

Details

    • Normal

    Description

      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:

      WriteLatency
      ------------
      Count: 1
      Min: 315.853
      Max: 379.022
      
      WriteTotalLatency
      -----------------
      Count: 339667
      

      In LatencyMetrics:

          /** Total latency in micro sec */
          public final Counter totalLatency;
      

      Attachments

        1. 8702.txt
          0.6 kB
          T Jake Luciani

        Issue Links

          Activity

            People

              tjake T Jake Luciani
              mike_tr_adamson Mike Adamson
              T Jake Luciani
              Mike Adamson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: