Hi all, I appreciate any help. Getting very frustrated.
So I have two measures (1) web request count split by jvm (2) web request count split by application.
The calculation rate is web request count split by jvm / web request count split by application, I should get a percentage less than 100%. But I'm getting 100% across the board.
This is an easy way to find out load distribution across JVMs. DT allows to create web request count measures for Application and Agent.
Based on the above example, agent1 is taking 40% (40/100) of the requests; whereas agent3 is only taking 10% (10/100). This is no secret sauce to calculate load distribution.
What I'm trying to accomplish is web request count for agents / web request count for application. See attached screen shot.
What you will have to do instead is have one measure which splits on both, then create a chart. Add the measure to the chart, choosing Agent in the dropdown when you add it. Then in the chart controls (upper right), click on the 4th button for the chart splitting and change this to Application. Then you can change the chart type to stacked percentage bar chart to see the trend over time or to pie chart to see the summary data.
Hope that helps,
Great minds think alike. Yes I do have another measure that splits on both and charting the way you mentioned. Unfortunately, this has limited capability. Using the above example, in a perfect world, each JVM should be evenly loaded 25%. What I'm attempting to do is to trigger an incident if an agent consistently taking more than 50% or less than 5%.
I was only going for a visualization where I could easily see if any server was taking more or less load during a given time period, so I did not address the peak hour or incident issues you mentioned.
In the past, with a different APM tool, I created alerts based on the percentage of the cluster being used per process. This involved creating a table of tiers, assigning each tier to a cluster, etc. Using percentages should handle both peak and non-peak. Maybe you could accomplish the percentage calculation by using an Agent split over an Agent Group split as a rate measure? I have not tried this, but it seems like it might be feasible.