AppD Archive

Rest APIs

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I am using REST APIs to access average response time data for 6 months, 1 year and so on. I want quarterly data for this. Can we aggregate the data through appdynamics so that it can be directly accessed through rest APIs and displayed as quarterly data ? Kindly help.

0 Karma

Arun_Dasetty
Super Champion

Hi Pratul,

Is the following information refererred in below screenshot not meeting your requirement, please confirm?

image.png

image.png

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

The steps shown in the screenshot are known to me. I want quarterly information for the whole year aggregated in quarters.

Is that possible in appdynamics ? And to export that data thru Rest APIs ?

0 Karma

Arun_Dasetty
Super Champion

Hi Pratul,

 

We do not see any direct way but can you see if passing custom time in rest api for same metric captured from metric browser for 1 of 4 request pointing to custom time for one of the quarter helps here.  ranges refer between times parameter in rest api doc 

 

example: /controller/rest/applications/E-Commerce_Demo/metric-data?metric-path=Overall%20Application%20Performance%7CAverage%20Response%20Time%20%28ms%29&time-range-type=BETWEEN_TIMES&start-time=1427022660000&end-time=1430970780000

 

another rest URL but updated start-time and end-time for second quart example:

/controller/rest/applications/E-Commerce_Demo/metric-data?metric-path=Overall%20Application%20Performance%7CAverage%20Response%20Time%20%28ms%29&time-range-type=BETWEEN_TIMES&start-time=1427022660000&end-time=1430970780000

 

Let us know if that is an option, else i do not other option, apart from custom time passing in rest api and checking average metric stats in xml response in rest api response

 

image.png

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...