Hi Nirmal, Thank you for the information. I'll have a look at the implementation.
Thanks. On Fri, May 10, 2013 at 4:29 PM, Nirmal Fernando <[email protected]> wrote: > Hi Bhathiya, > > What Paul was referring to is Latency View MBean and its implementation > can be found at > https://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/synapse/2.1.1-wso2v3/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/util/LatencyView.java > > > On Fri, May 10, 2013 at 1:23 PM, Paul Fremantle <[email protected]> wrote: > >> Hmmm neither of these is perfect. In a server running for 10 months, the >> average isn't very useful since server start. Ideally we would like the >> Cassandra MBeans to collect the same that we do for NHTTP etc, e.g. last >> minute, 5m, 15m, 1h, 4h, 8h, 24h, etc. (or something like that - can't >> exactly remember!) >> >> Paul >> >> >> On 10 May 2013 07:54, Bhathiya Jayasekara <[email protected]> wrote: >> >>> Hi Paul, >>> >>> I had a little research on availability of latency statistics. There are >>> 2 types of latency values which can be retrieved from Cassandra jmx mbeans. >>> >>> 1) Read/write latency for keyspaces >>> 2) Read/write latency for column families >>> >>> The first one is calculated by (total time spent for requests *since >>> server started*)/(number of requests *since server started*), >>> >>> and the second one is calculated by (total time spent for requests *since >>> last call to jmx mbean*)/(number of requests *since last call to jmx >>> mbean*). >>> >>> So, to have an average value for latency, it seems the first one is >>> more suitable. So I'm going to use those values as latency. Since I have >>> read/write counts as well, average latency for whole system can be >>> calculated. >>> >>> Thanks. >>> >>> >>> >>> On Thu, May 9, 2013 at 3:52 PM, Paul Fremantle <[email protected]> wrote: >>> >>>> Very nice. Is there any way we can get average ms per read and write? I >>>> know that is important to many users. >>>> >>>> Paul >>>> >>>> >>>> On 9 May 2013 11:07, Bhathiya Jayasekara <[email protected]> wrote: >>>> >>>>> Hi Prabath, >>>>> >>>>> As you suggested, I wrote a simple table gadget to show other relevant >>>>> statistics too. Comments are welcome. >>>>> >>>>> I'm attaching screenshots of the gadgets herewith. >>>>> >>>>> Thanks. >>>>> >>>>> >>>>> On Thu, May 9, 2013 at 11:22 AM, Prabath Abeysekera <[email protected] >>>>> > wrote: >>>>> >>>>>> Hi Bhathiya, >>>>>> >>>>>> On Thu, May 9, 2013 at 10:10 AM, Bhathiya Jayasekara < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi devs, >>>>>>> >>>>>>> I started working on [1] few weeks back. The initial milestone is to >>>>>>> implement Cassandra data publishing, analyzing and monitoring part. The >>>>>>> billing task will be done later. Currently I have completed Cassandra >>>>>>> disk >>>>>>> space usage and node status monitoring implementation. So with this now, >>>>>>> Cassandra disk space usages can be monitored in different time periods >>>>>>> such >>>>>>> as "in last hour", "in last day", "in last week" and in "last month". >>>>>>> >>>>>>> In addition to disk space usage, other statistics such as >>>>>>> sstablecount, read and write counts etc. are also published and analyzed >>>>>>> now, and can be added to monitoring dashboard if required. (Need to >>>>>>> write >>>>>>> gadgets accordingly) >>>>>>> >>>>>> >>>>>> Good work. Please attach a few screenshots of the available dashboard >>>>>> artifacts you've come up with too. Also, I believe, if possible, writing >>>>>> a >>>>>> few other gadgets to display the information on read/write counts, >>>>>> latency, sstablecounts, etc too would be helpful to make it a more >>>>>> complete >>>>>> toolbox. (Referring your mail, I hope it's going to be straightforward as >>>>>> the necessary information is already available.) >>>>>> >>>>>> >>>>>>> >>>>>>> Currently data publishing and viewing is available for super tenant >>>>>>> only, and I'm planning to extend it to tenant level. >>>>>>> >>>>>>> [1] https://redmine.wso2.com/issues/1163 >>>>>>> >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> -- >>>>>>> *Bhathiya Jayasekara* >>>>>>> *Software Engineer,* >>>>>>> *WSO2 inc., http://wso2.com* >>>>>>> * >>>>>>> * >>>>>>> *Phone: +94715478185* >>>>>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj* >>>>>>> *Twitter: https://twitter.com/bhathiyax* >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> [email protected] >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> Regards, >>>>>> Prabath >>>>>> -- >>>>>> Prabath Abeysekara >>>>>> Email: [email protected] <[email protected]> >>>>>> Mobile: +94774171471 >>>>>> >>>>>> <http://harshana05.blogspot.com/> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Bhathiya Jayasekara* >>>>> *Software Engineer,* >>>>> *WSO2 inc., http://wso2.com* >>>>> * >>>>> * >>>>> *Phone: +94715478185* >>>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj* >>>>> *Twitter: https://twitter.com/bhathiyax* >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Paul Fremantle >>>> CTO and Co-Founder, WSO2 >>>> OASIS WS-RX TC Co-chair, VP, Apache Synapse >>>> >>>> UK: +44 207 096 0336 >>>> US: +1 646 595 7614 >>>> >>>> blog: http://pzf.fremantle.org >>>> twitter.com/pzfreo >>>> [email protected] >>>> >>>> wso2.com Lean Enterprise Middleware >>>> >>>> Disclaimer: This communication may contain privileged or other >>>> confidential information and is intended exclusively for the addressee/s. >>>> If you are not the intended recipient/s, or believe that you may have >>>> received this communication in error, please reply to the sender indicating >>>> that fact and delete the copy you received and in addition, you should not >>>> print, copy, retransmit, disseminate, or otherwise use the information >>>> contained in this communication. Internet communications cannot be >>>> guaranteed to be timely, secure, error or virus-free. The sender does not >>>> accept liability for any errors or omissions. >>>> >>> >>> >>> >>> -- >>> *Bhathiya Jayasekara* >>> *Software Engineer,* >>> *WSO2 inc., http://wso2.com* >>> * >>> * >>> *Phone: +94715478185* >>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj* >>> *Twitter: https://twitter.com/bhathiyax* >>> >> >> >> >> -- >> Paul Fremantle >> CTO and Co-Founder, WSO2 >> OASIS WS-RX TC Co-chair, VP, Apache Synapse >> >> UK: +44 207 096 0336 >> US: +1 646 595 7614 >> >> blog: http://pzf.fremantle.org >> twitter.com/pzfreo >> [email protected] >> >> wso2.com Lean Enterprise Middleware >> >> Disclaimer: This communication may contain privileged or other >> confidential information and is intended exclusively for the addressee/s. >> If you are not the intended recipient/s, or believe that you may have >> received this communication in error, please reply to the sender indicating >> that fact and delete the copy you received and in addition, you should not >> print, copy, retransmit, disseminate, or otherwise use the information >> contained in this communication. Internet communications cannot be >> guaranteed to be timely, secure, error or virus-free. The sender does not >> accept liability for any errors or omissions. >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > Thanks & regards, > Nirmal > > Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com* * * *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
