Splunk AppDynamics

Instrument two apps in single JVM

CommunityUser
Splunk Employee
Splunk Employee

How to instrument two application in single JVM 

Labels (1)
0 Karma

Arun_Dasetty
Super Champion

Hi Archana,

We see as of now java AppServerAgent.zip installation monitored JVM instance itself, that is all requests part of target JVM process with multiple web application deployed. We suggest to configure -javaagent entry on JVM with target two apps deployed as part of JVM startup setting and try below steps:

- As each web application have its own context URI say /bankapp /orderapp are two web context name of two different apps for all sub requests like /orderapp/login /bankapp/checkout, we suggest to create a Servlet rule matching context name so that all requests for one app will be grouped as single BT

image.pngimage.pngimage.png

- You can use split for other segments as in sample view attached above, see if that information helps.

https://docs.appdynamics.com/display/PRO44/Install+the+Java+Agent

https://docs.appdynamics.com/display/PRO44/Monitor+JVMs

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...