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've created a Data Collector which collects data from "Method Parameter @index: 1" from the below.
I'm getting an array with the data collected and as I understand it I need to configure a Getter Chain to get single items as results - how do I do this!?
final native public IResult`1 CreateCard(
, Int32 abc
, UInt32 from
, UInt32 to
, UInt32 zones
, System.DateTime fromDate
, System.DateTime toDate
, System.String transactionId
Is it possible to create a Data Collector which collects both the result and the parameter(s)?
Have you already checked out the documentation for Getter Chain? https://docs.appdynamics.com/appd/23.x/latest/en/application-monitoring/configure-instrumentation/co...
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
I don't know if this helps, but we have several data collectors GETting data from lists, not arrays. It took us awhile to figure out the syntax, but here is an example of a getter chain with a reference to an item in a list, that works...
The 'get(int/0)' part is the part in the list. In the getter above, there are 2.
Hope that helps.
For the second part... 'can you collect both the results and the parameters...'
You can collect multiple values in one data collector. You can use getters, or return values, etc. You have have to have a individual entry in the data collector for each one, though. So if you have 2 parameters, 0 and 1, you would have to have 2 entries.