Hi,
This is a little complicated, please take some time to read. This could benefit many here in the community. Our application has 50 JVMs. First I created a metric grouping then created a calculator to average the metric grouping (screen shot below). The calculator created a new custom metric "Servlets Weighted Avg WebServlet", under Custom Metric Host (Virtual)|Custom Metric Process (Virtual)|Custom Metric Agent (Virtual). That's the easy part.
The complicated part is I need to use this new custom metric in the custom calculator to produce another new metric. How to get custom metric into custom calculator?
Here is the scenario.
Consider this as load balancing custom calculator. Let's assume servlets represent incoming requests to the jvm. When I create the calculator to average the metric grouping (referenced above), this will give the "overall average" incoming requests per jvm. I'm writing a custom calculator to compare the "current" incoming requests against the "overall average" incoming requests. If this number is too low, we will know the jvm is taking much less load compares to other JVMs. Likewise, if the number is too high, the JVM is taking alot more load than other JVMs.
Please share your ideas and approaches.
-VLu