Hi CD, I'm really glad that this script helped. :)
You will have to keep the org.wso2.carbon.metrics.manager*.jar with your testing scripts. I hope that should be okay. Thanks! Best Regards, On Fri, Dec 4, 2015 at 2:57 PM, CD Athuraliya <[email protected]> wrote: > Thanks Isuru for this script! We could easily enable and disable Carbon > metrics reporting through a bash script (when running warm-up samples). > > Regards, > CD > > On Wed, Dec 2, 2015 at 11:41 AM, Isuru Perera <[email protected]> wrote: > >> Hi, >> >> I wrote a script to enable/disable metrics. The requirement came from >> Chathurike and he wanted to disable Metrics during warm up period when >> doing performance tests. >> >> The script is available at [1] and I wrote a blog post on it [2]. The >> script will work only in Java 8. >> >> Thanks! >> >> Best Regards, >> >> [1] >> https://gist.github.com/chrishantha/2fd43ba4ada79d2f6bdc#file-metrics_jmx_operations-js >> [2] http://isuru-perera.blogspot.com/2015/12/running-java-in-script.html >> >> -- >> Isuru Perera >> Associate Technical Lead | WSO2, Inc. | http://wso2.com/ >> Lean . Enterprise . Middleware >> >> about.me/chrishantha >> Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about> >> > > > > -- > *CD Athuraliya* > Software Engineer > WSO2, Inc. > lean . enterprise . middleware > Mobile: +94 716288847 <94716288847> > LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter > <https://twitter.com/cdathuraliya> | Blog > <https://cdathuraliya.wordpress.com/> > -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
