Re: JMX metrics for CL

2018-03-01 Thread Kyrylo Lebediev
Thank you so much, Eric! From: Eric Evans <john.eric.ev...@gmail.com> Sent: Wednesday, February 28, 2018 6:26:23 PM To: user@cassandra.apache.org Subject: Re: JMX metrics for CL On Tue, Feb 27, 2018 at 2:26 AM, Kyrylo Lebediev <kyrylo_lebed...

Re: JMX metrics for CL

2018-02-28 Thread Eric Evans
On Tue, Feb 27, 2018 at 2:26 AM, Kyrylo Lebediev wrote: > Hello! > > > Is it possible to get counters from C* side regarding CQL queries > executed since startup for each CL? > For example: > CL ONE: NNN queries > CL QUORUM: MMM queries > etc > It's possible to get a

Re: JMX metrics for CL

2018-02-28 Thread Simon Fontana Oscarsson
t:* Re: JMX metrics for CL Hello, There are no such metrics that I am aware of. One way you could do this is to have your own implementation of QueryHandler and your own metrics and filter the queries based on the CL and increment the according metric. Then, in cassandra-env.sh you could specify

Re: JMX metrics for CL

2018-02-28 Thread Kyrylo Lebediev
com> Sent: Tuesday, February 27, 2018 7:38:23 PM To: user@cassandra.apache.org Subject: Re: JMX metrics for CL Hello, There are no such metrics that I am aware of. One way you could do this is to have your own implementation of QueryHandler and your own metrics and filter the queries based on

Re: JMX metrics for CL

2018-02-27 Thread Horia Mocioi
Hello, There are no such metrics that I am aware of. One way you could do this is to have your own implementation of QueryHandler and your own metrics and filter the queries based on the CL and increment the according metric. Then, in cassandra-env.sh you could specify to use your class using