Re: `nodetool cfhistogram` utility script

2014-12-12 Thread Matt Brown
You can also collect these stats from the server via JMX, I believe the name of the MBean object is org.apache.cassandra.metrics:type=ColumnFamily,keyspace=,scope=,name=SSTablesPerReadHistogram where KEYSPACE is your keyspace and SCOPE is Read or Write. This has attributes for 50thPercentile, 7

Re: `nodetool cfhistogram` utility script

2014-12-12 Thread Jonathan Haddad
Hey Jens, Unfortunately the output of the nodetool histograms changes between versions. While I think your script is useful, it's likely to break between versions. You might be interested to weigh in on the JIRA ticket to make the nodetool output machine friendly: https://issues.apache.org/jira/

`nodetool cfhistogram` utility script

2014-12-12 Thread Jens Rantil
Hi, I just quickly put together a tiny utility script to estimate average/mean/min/max/percentiles for `nodetool cfhistogram` latency output. Maybe could be useful to someone else, don’t know. You can find it here: https://gist.github.com/JensRantil/3da67e39f50aaf4f5bce Future improvements