Splunk AppDynamics

Application Health

SalahKhattab
Explorer

Hi,

I have an application that is 2 tiers and all tiers are hosted on 2 nodes. We need to monitor the application's uptime and downtime.

If the last 7 days the application is down in one day we need a percentage that says that the application is up 6 days and down 1 day 

Is it possible to do this?

^ Post edited by @Ryan.Paredez for formatting 

Labels (1)
Tags (2)

Sunil_Agarwal
Communicator

Hi @Salah.Tarek Khattab ,

Here is an example which I use to calculate application health for my use-case. You can define the timeline and formula based on your business need.

  • To see app availability, you can create different widgets for different time ranges. You can refer to the App Agent Availability metric which is a derived metric(Under metric browser--> Application Infrastructure Performance|Tier|Individual Node|Agent|App|Availability)  
    image.png
  • When creating this widget, please select widget-specific time range. For different widgets showing availability data of different time-ranges, select respective time-range. 

    image.png

image.png

  • We can give you example but you have to determine what metrics are important to you and what formula makes more sense to you.
    • In the metric expression, you can use the same metric (APP|AGENT|AVAILABILITY) of type SUM and divide this value by the time (in minutes).  
    • The availability metric sends out metric every minute. So if you want availability % for last 15 mins and if you get 10 metric points, then the agent was up for 10/15 ~ 66.66%. 
      The metric expression I have used is:  ({Sum-Of-Availability} / time_in_minutes) * 100
    •  Where variable : Sum-Of-Availability = Sum of (Agent | App | Availability)

    • You can create different widgets for different time-range. As shown in the screenshot below, I have created 3 widgets in my "GameHouse Availability Monitoring" Dashboard where each widget shows availability value for different time-range. 

      image.png
  • The AppDynamics agent does report application availability metrics. It will only report when the App Agent process is up and running. Even if there are no traffic on application, agent will report CLR metrics and agent availability will be >0.  If application gets terminated gracefully, the app agent will also go down and stop reporting until the next request hits the server.


You can use the metric expression to calculate the average/percentage. Please go through the below documents: https://docs.appdynamics.com/appd/22.x/latest/en/appdynamics-essentials/dashboards-and-reports/custo...

 

Please check "Metric Expression" section in link below. You can use the instructions to create metric expressions: https://docs.appdynamics.com/display/PRO21/Create+a+Health+Rule+and+Fine-tune+Metric+Evaluation

  
 Please let me know if adding a Widget as shown in screenshots helps you.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...