AppD Archive

Trying to show slow calls , very slow calls as pie slices in a pie chart

CommunityUser
Splunk Employee
Splunk Employee

I am trying to reflect the % of slow, very slow, error and stalls vs "good" transactions in a pie chart widget on a custom dashboard.  This would be totals for a tier or node.

However - I can't seem to find a metric that gives me the total number of calls. - the closet I get is calls per minute, which does not reflect what I want.

Is there anything I can do , tips, tricks etc to get this info to reflect the distribution of calls between the different "performance buckets " ?

0 Karma

Angela_Lang
Path Finder

AppDynamics does not track the number of normal calls. To get that value you would need to take the total calls per minute and subtract out the not-normal calls (slow, very slow, etc). I encourage you to submit a feature request to support the functionality you need.

Depending on the problem you are trying to solve, here are some possible alternatives:
1) You could create a health rule that calculates this value and triggers when the % falls below a certain level. Your dashboard could display the status of this healthrule using a status light widget. You could also be notified (via email/text) by creating a policy based on the rule.
2) You could create a line graph that includes the total calls, errors, slow, etc. This would not show the actual percentage, but you could see a break down of sorts.
3) An extension could be written that uses the REST API to capture the calls per minute, slow calls per minute, etc values and use them to calculate the normal calls per minute. This could then be reported as a metric or used to generate the content needed for your dashboard.

0 Karma

Arun_Dasetty
Super Champion

Hi ,

Adding to Angela comments above, regarding other query on the total number of calls query Can you please check if the following steps helps at tier or other component level as well from metric browser CPM metric:

Please validate and do let us know if the following instructions will help in achieving your requirement.

Step 1:- Navigate to the Analyze -> metric browser in UI, and select "<target BT - Information point>" -> "calls per minute" metric in Controller UI , and right click on the metric and select copy rest URL and past the url in browser tab and add parameter &rollup=false and sum the data discovered under <metric-value> <value> element which represents the total calls for each minute as referred in screenshots attached.

Step 2:- Prepare a custom metric using a custom script so as to read the value captured from REST API and manipulate accordingly that does the sum process of the value element as referred in step-1 above.

Step 3:- Report the manipulated value back to controller.

Step 4:- Design a custom dashboard for the reported new metric value for which you can use rest url as we have a metric now in metric browser.

For Step 1:- Please refer to below docs link
http://docs.appdynamics.com/display/PRO14S/Use+the+AppDynamics+REST+API

For Step 2 and Step 3:- Please refer to below docs link
http://docs.appdynamics.com/display/PRO14S/Build+a+Monitoring+Extension+Using+Scripts

So, this helps to get the total number of calls value got through manipulation of rest api response to create a metric back in controller.

image.png

image.png

image.png

image.png

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...