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

2017-10-04 Thread Anumod Mullachery
Thanks for the info..

Thanks,

Anumod


Sent from my iPhone

> On Oct 3, 2017, at 12:07 PM, Chris Lohfink  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  
>> 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

2017-10-03 Thread Chris Lohfink
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  
> 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



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

2017-10-03 Thread Anumod Mullachery
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


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

2017-09-29 Thread Mullachery, Anumod (Contractor)

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