Re: JMX metrics for CL

2018-03-01 Thread Kyrylo Lebediev
Thank you so much, Eric! From: Eric Evans 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 mailto:kyrylo_lebed...@epam.com>> wrote: Hello!

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 count of client requests.

Re: JMX metrics for CL

2018-02-28 Thread Simon Fontana Oscarsson
sed from C* side?  If not 'since startup', then at least online metrics will be fine. Regards, Kyrill *From:* Horia Mocioi *Sent:* Tuesday, February 27, 2018 7:38:23 PM *To:* user@cassandra.apache.org *Subject:* R

Re: JMX metrics for CL

2018-02-28 Thread Kyrylo Lebediev
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 the CL and incr

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