You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2014/02/01 02:15:06 UTC

[jira] [Commented] (CASSANDRA-6360) Make nodetool cfhistograms output easily understandable

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

Tyler Hobbs commented on CASSANDRA-6360:
----------------------------------------

I put up a 2.0 version of this here: https://github.com/thobbs/cassandra/tree/CASSANDRA-6360.  I'll update this for the new nodetool version after any bike-shedding.

Here's an example output:
{noformat}
~/cassandra $ bin/nodetool cfhistograms Keyspace1 Standard1
Keyspace1/Standard1 histograms

SSTables per Read
1 sstables: 1000

Write Latency (microseconds)
  86 us: 5
 103 us: 2
 124 us: 149
 149 us: 391
 179 us: 330
 215 us: 98
 258 us: 8
 310 us: 1
 372 us: 1
 446 us: 0
 535 us: 1
 642 us: 1
 770 us: 1
 924 us: 2
1109 us: 4
1331 us: 0
1597 us: 0
1916 us: 0
2299 us: 0
2759 us: 1
3311 us: 4
3973 us: 0
4768 us: 0
5722 us: 0
6866 us: 0
8239 us: 0
9887 us: 1

Read Latency (microseconds)
  60 us: 6
  72 us: 32
  86 us: 160
 103 us: 405
 124 us: 299
 149 us: 52
 179 us: 14
 215 us: 3
 258 us: 5
 310 us: 1
 372 us: 2
 446 us: 2
 535 us: 0
 642 us: 0
 770 us: 2
 924 us: 2
1109 us: 1
1331 us: 1
1597 us: 2
1916 us: 2
2299 us: 2
2759 us: 0
3311 us: 2
3973 us: 2
4768 us: 2
5722 us: 0
6866 us: 0
8239 us: 1

Partition Size (bytes)
No Data

Cell Count per Partition
No Data
{noformat}

To summarize:
* We only show the ranges for which we actually have data
* If there's no data, it just says "No Data"
* The old behavior is still available via {{\-c/\-\-compact}}

> Make nodetool cfhistograms output easily understandable
> -------------------------------------------------------
>
>                 Key: CASSANDRA-6360
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6360
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Trivial
>
> Almost nobody understands the cfhistograms output without googling it.  By default, we shouldn't share an axis across all metrics.  We can still provide the current format with a --compact option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)