You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Anumod Mullachery <an...@gmail.com> on 2017/10/03 15:06:33 UTC

Read-/ Write Latency - Cassandra 2.1 .15 vs 3.10

Hi,

We were running splunk  queries to pull read / write latency.

It's working fine in 2.1.15 , but not returning result from upgraded
version 3.10.

The bean used in the script is as shown below.

Let me know, if any changes on the functionality on 2.1.15 vs 3.10 or
it replaced to some other bean.


perf_queries= {
   "org.apache.cassandra.db:type=StorageProxy" =>
"RecentReadLatencyMicros,RecentWriteLatencyMicros",
}

stage_queries= {
   "org.apache.cassandra.request:type=*" =>
"ActiveCount,PendingTasks,CurrentlyBlockedTasks",
}

curl http://localhost:8778/jolokia/read/org.apache.cassandra.db:type=StorageProxy/RecentReadLatencyMicros,RecentWriteLatencyMicros

curl http://localhost:8778/jolokia/read/org.apache.cassandra.request:type=*/ActiveCount,PendingTasks,CurrentlyBlockedTasks


~ Thanks ~

Anumod

Re: Read-/ Write Latency - Cassandra 2.1 .15 vs 3.10

Posted by Anumod Mullachery <an...@gmail.com>.
Thanks for the info..

Thanks,

Anumod


Sent from my iPhone

> On Oct 3, 2017, at 12:07 PM, Chris Lohfink <cl...@apple.com> wrote:
> 
> RecentReadLatency metrics has been deprecated for years (1.1 or 1.2) and were removed in 2.2. It was a very misleading metric. Instead pull from the Table's ReadLatency metrics from the org.apache.cassandra.metrics domain. http://cassandra.apache.org/doc/latest/operating/metrics.html?highlight=metrics#table-metrics
> 
> Chris
> 
>> On Oct 3, 2017, at 10:06 AM, Anumod Mullachery <an...@gmail.com> wrote:
>> 
>> Hi,  We were running splunk queries to pull read / write latency.  It's working fine in 2.1.15 , but not returning result from upgraded version 3.10.  The bean used in the script is as shown below.  Let me know, if any changes on the functionality on 2.1.15 vs 3.10 or it replaced to some other bean.   perf_queries= { "org.apache.cassandra.db:type=StorageProxy" => "RecentReadLatencyMicros,RecentWriteLatencyMicros", }  stage_queries= { "org.apache.cassandra.request:type=*" => "ActiveCount,PendingTasks,CurrentlyBlockedTasks", }  curl http://localhost:8778/jolokia/read/org.apache.cassandra.db:type=StorageProxy/RecentReadLatencyMicros,RecentWriteLatencyMicros  curl http://localhost:8778/jolokia/read/org.apache.cassandra.request:type=*/ActiveCount,PendingTasks,CurrentlyBlockedTasks  
>> 
>> ~ Thanks ~  Anumod
> 

Re: Read-/ Write Latency - Cassandra 2.1 .15 vs 3.10

Posted by Chris Lohfink <cl...@apple.com>.
RecentReadLatency metrics has been deprecated for years (1.1 or 1.2) and were removed in 2.2. It was a very misleading metric. Instead pull from the Table's ReadLatency metrics from the org.apache.cassandra.metrics domain. http://cassandra.apache.org/doc/latest/operating/metrics.html?highlight=metrics#table-metrics <http://cassandra.apache.org/doc/latest/operating/metrics.html?highlight=metrics#table-metrics>

Chris

> On Oct 3, 2017, at 10:06 AM, Anumod Mullachery <an...@gmail.com> wrote:
> 
> Hi,  We were running splunk queries to pull read / write latency.  It's working fine in 2.1.15 , but not returning result from upgraded version 3.10.  The bean used in the script is as shown below.  Let me know, if any changes on the functionality on 2.1.15 vs 3.10 or it replaced to some other bean.   perf_queries= { "org.apache.cassandra.db:type=StorageProxy" => "RecentReadLatencyMicros,RecentWriteLatencyMicros", }  stage_queries= { "org.apache.cassandra.request:type=*" => "ActiveCount,PendingTasks,CurrentlyBlockedTasks", }  curl http://localhost:8778/jolokia/read/org.apache.cassandra.db:type=StorageProxy/RecentReadLatencyMicros,RecentWriteLatencyMicros <http://localhost:8778/jolokia/read/org.apache.cassandra.db:type=StorageProxy/RecentReadLatencyMicros,RecentWriteLatencyMicros>  curl http://localhost:8778/jolokia/read/org.apache.cassandra.request:type=*/ActiveCount,PendingTasks,CurrentlyBlockedTasks <http://localhost:8778/jolokia/read/org.apache.cassandra.request:type=*/ActiveCount,PendingTasks,CurrentlyBlockedTasks>  
> 
> ~ Thanks ~  Anumod