Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding metrics api query

Regarding metrics api query

Hi Team,

I have configured javaagent (trail version) in two different machine (one in linux env and one in windows),and deployed same springboot rest api on both machine, and put same application name ,node name and tier name and to retrive metrics data api from appdynamics.how we differentiate metrics api if we small changes in restapplication.

I got same metrics api from two machine:

https://asteroids2019042323315110.saas.appdynamics.com/controller/rest/applications/OpsMx-Portal/met..."

Kindly please resolve my issue.


Thanks

Veerendra Srivastava

Mob No:8527933516

 

Regarding metrics api query
1 REPLY 1
Highlighted
Moderator

Re: Regarding metrics api query

Veerendra,

 

The issue here is that the combination of tier name and node name are used by AppDynamics to uniquely identify one JVM.

 

Thus, your configuration has told us there is one JVM, and that is what you see.

 

If you give the 2 instances different tier names, or different node names, you will see both represented individually as you expect.

 

For reference, take a look at https://docs.appdynamics.com/display/PRO45/Install+App+Server+Agents#InstallAppServerAgents-tier-nod...

 

Warm regards,

Peter



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