cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I instrument .JS agents to report information points

Emrul.Yousof
Creator

Do the JS Agents have to be manually instrumented to report information points? When I try to add an information point the only options are Java, .NET, and PHP.

1. Why there is no option for JS to add information point?

2. How do I configure JS Agents to report all the information points?

1 REPLY 1

Kyle.Furlong
AppDynamics Team (Retired)

Hi Emrul,

 

Yeah, the way we do this in Node.js is through the agent API: https://docs.appdynamics.com/display/PRO44/Node.js+Agent+API+Reference. Specifically, there are two options:

addSnapshotData will just add a key value pair to each request snapshot that the agent takes, while the addAnalyticsData will work more like a data collector, providing metrics.

 

Please let us know if you have any issues.

 

Regards,

Kyle

Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.