Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
I hope this is possible because this would be so awesome for our Application Monitoring.
So our API returns an object that contains a List of that I need the last element. So I created a getter chain like this for testing of the first element:
and this worked.
My problem is that I can't seem to get the correct syntax right on how to get the last element. My last tries were the following:
In both cases the Data Collector displays:
[CANNOT EVALUATE: Error getting data from specified method parameter]
Is there something I'm missing? Or is this simply not possible?
Solved! Go to Solution.
I'm afraid it is only possible to pass constant parameter values to methods in getter chains so there is no way to achieve what you want by this route.
Is there any way you can change the application code to programatically collect the data you need using the java agent API?