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 <isu...@wso2.com> 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/>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to