Skip to content

Latest commit

 

History

History

advanced-availability-check

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Advanced Availability Check

Table of Contents

Description

Advanced Availability Check is designed to assess the availability of a given service and subsequently report the results to Dynatrace. This enables comprehensive monitoring, tracking of Service Level Agreements (SLAs) and data visualization within the Dynatrace platform.

For demonstration and testing purposes, this example utilizes the HTTP Bin service. It is a simple HTTP request and response service, which allows for easy testing and exploration of HTTP requests and responses. However, this example can be readily adapted to fit specific customer requirements and use cases with different services.

By following this documentation, can be implement an advanced and reliable mechanism to monitor the availability of services thereby enhancing the operational efficiency and service reliability.

On top of that, availability checks can easily be performed on regular intervals (e.g. every 5 minutes or every hour) by using the Scheduled Executions functionality in Automation Pilot.

Requirements

To use this example you’ll need the following:

  • Dynatrace setup with access token and environment url

ℹ️ How to setup your Dynatrace

  • From the left panel click on Manage and navigate to Access Tokens access-token

  • Go to Geneterate new token

  • Chose a token name and expiration date

  • Add the scopes shown in the picture new-token

  • Click on Generate Token and save your access token securely

  • The environment url can be cound in the Dynatrace Environment API Documentation

ℹ️ Result of the Dynatrace setup can be viewed in the Data explorer where different Dashboards can be configured.

  • Stacked column chart for 2 metrics and 2 applications stacked
  • Single value chart presenting the availability of an application pie
  • Graph chart for 2 metrics and 2 applications individually graph-line

ℹ️ How to setup your Dynatrace Dashboards

  • Go to Data Explorer under Observe and explore
  • Chose the type of chart you want and use the values pushed with PushDynatraceMetric command in dataPoints
  • Select the metric
  • Split by the category
  • Filter by the name
  • Configure the Settings and Timeframes
  • Finally Pin to dashboard

Check out the following resource for more information

How to use

Import the content of examples catalog in your Automation Pilot tenant. Navigate to AdvancedAvailabilityCheck command and trigger it.

You’ll need to provide values for the following input keys:

  • dynatraceApiToken - Generated Dynatrace API Token
  • dataPoints - Custom data points
  • dynatraceEnvironmentUrl - Environment url for Dynatrace

ℹ️ For the dataPoints follow this template {metric},{category}={name} {payload}

example: metricName, app=appA 1