Splunk AppDynamics

Why does AppDynamics NodeJS client install Java Runtime Environment within its npm packages?

CommunityUser
Splunk Employee
Splunk Employee

Why does AppDynamics NodeJS client install Java Runtime Environment within its npm packages? We find this to be an undesired dependency in containerised NodeJs applications. Is there a native nodejs client or plans to develop one?

Labels (1)
0 Karma
1 Solution

Piyush_Mundra
Communicator

Hi lukasz,

Yes, you can delete these two directories after the agent installation if you do not intend to use the JAVA proxy for controller communication. But, be informed that there are a few functionalities which are still not supported by native agent.

Best Regards,

Piyush

View solution in original post

Raunak_Mohanty
Builder

Hi lukasz,

This is explained in following document

https://docs.appdynamics.com/display/PRO43/Dynamic+Language+Agent+Proxy

https://docs.appdynamics.com/display/PRO43/Node.js+Agent#Node.jsAgent-Node.jsAgentandtheJavaProxy

With 4.3, Node.Js Agent supports proxiless option with few limitations

https://docs.appdynamics.com/display/PRO43/Dynamic+Language+Agent+Proxy#DynamicLanguageAgentProxy-No...

Let us know if you have additional questions.

Thanks,

Raunak

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I understand I can make the nodejs agent not use the Java proxy (

https://docs.appdynamics.com/display/PRO43/Dynamic+Language+Agent+Proxy#DynamicLanguageAgentProxy-No...), but it will be installed anyway along the npm package? This still adds 160MB to container image. Would it be safe to delete the appdynamics-jre and appdynamics-proxy packages if the proxiless option is in use? Or is there an alternative npm package which does not include JRE and proxy dependencies? 

0 Karma

Piyush_Mundra
Communicator

Hi lukasz,

Yes, you can delete these two directories after the agent installation if you do not intend to use the JAVA proxy for controller communication. But, be informed that there are a few functionalities which are still not supported by native agent.

Best Regards,

Piyush

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...