Splunk AppDynamics

How to use Rest API SDK to get node level communications for Java Agents

CommunityUser
Splunk Employee
Splunk Employee

I use AppDRestAPI-SDK for Java to retrieve all tiers, nodes information in my Java application. It is pretty convenient. 

I am wondering is there any way to get node level communications information for my application ? For example,  calls per minute from node1 in tier1 talked to node2 in tier2 in an application. I can use that information to know communication topology of my app.

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I am not sure if i follow you question properply but i think you are looking for calls per minute for each of the nodes within a tier.

You can do that at business transaction level within a tier though.

Open Metric Browser -> Business transaction Performance -> Business transactions -> <Select Desired Tier> -> <Select Business transaction> -> Individual Nodes -> <Select Desired Node> -> Right click the Calls Per MInute metric and select Copy REST URL

Use the above in yoru rest calls to get the details.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

 Thanks Gurmitsa for the reply.

My question was not about the metrics at the node level. I am looking for the target node name that a node is making an external call.

For example here, we have a metrics about calls per minute, 

Overall Application Performance|tier-tomcat|Individual Nodes|Node-AllInOne|External Calls|Call-THRIFT to tier-store-service|Calls per Minute

From the path(URL), I can only know this metrics is about tracking calls per minute from my Node-AllInOne in a tier-tomcat to a tier named tier-store-service, but I don't know which exact node in this tier-store-service. I suppose Java agent is able to track down the node to node level communication, such as calls or errors. Any way to get it ?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Assuming that the target application is also instrumented on appdynamics.

Metric Browser -> Overall Application Performance -> Tier -> Individual Nodes -> <Select the node> -> Incoming Cross App Calls -> <Select the source app> -> <Select the source app tier> -> Calls Per Minute

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks Gurmitsa. I will keep in mind we have the option to get the cross app call metrics. However, currently we don't really care about cross app calls yet. We do want to know the call's destination node, not just the tier. It seems like, the aggregation granularity is tier, not the node at the call's destination side. So there is no way to get the node that calls are actually targeting to ?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

i think if you look at the cross app calls on the target, that is what you are looking for or you want exact source node to target node count?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

In order to establish a communication, either I know where an external call goes to (node as callee) or where a call it comes from(caller). In the perspective of a callee, basically any metrics inmetrics browser, I can't find caller information calling the APIs exposed.

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...