Online reconfiguration basic effect display of Zorka monitoring platform

Source: Internet
Author: User

In the previous log, I briefly introduced the use of Zorka online reconfiguration, but did not describe how to see the effect of online changes, here is a brief talk.

As an example of the previous Tomcat, we will see TOMCAT.BSH in the directory Zorka\scripts\apache, which is the BeanShell file that tomcat corresponds to. Before we point to the listtracerincludes, we can see the following as shown:


When we open the Tomcat.bsh file, we can see that its 100 lines start with something like this:

if (Zorka.boolcfg ("tracer")) {  tracer.exclude ("    org.apache.naming.NamingContextBindingEnumeration")    , "org.apache.tomcat.jdbc.pool.**",    "org.apache.juli.logging.**"  );}

obviously, and the result in the interface above is one by one corresponding, if we comment out the middle line, then save, then click Reload, then click Listtracerincludes, you can see the previous content has become this:


As you can see, org.apache.tomcat.jdbc.pool.** does not have a line, and we use this method to verify that the online reconfiguration is actually implemented. A small question, what if the last line is commented out? We can find that does not work, the reason is also very simple: if you comment out the last line, the last line in parentheses more than a comma, should be broken BeanShell syntax rules, so Zorka choose not to parse this BSH file. Simply summarize so much.

If we want to learn Zorka's online reconfiguration function, where should we start? Should see Zorka How to respond to reload this mbean method, step by step upward, you can understand.

Online reconfiguration basic effect display of Zorka monitoring platform

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.