# Dynatrace

## Introduction

Dynatrace is a software-intelligence monitoring platform that simplifies enterprise cloud complexity and accelerates digital transformation. Dynatrace all-in-one platform provides answers, not just data, about the performance of your applications, their underlying infrastructure, and the experience of your end users.&#x20;

This section explains on how to integrate CloudFabrix RDA with Dynatrace. The integration provides the below.

* Infrastructure and Applications inventory
* Infrastructure and Application dependency and relationship data
* Historical alerts data
* Performance Metrics list
* Performance Metrics

## Prerequisites: <a href="#prerequisites" id="prerequisites"></a>

The following are pre-requisites for creating Dynatrace as a Datasource. It is used for Alert Notifications from Dynatrace and collecting Host/Application Configuration and Metrics & Logs on-demand.

1\) Dynatrace SaaS Account

2\) An API Key (Created on Dynatrace SaaS portal)

3\) One or more Hosts or Applications or Databases being monitored by Dynatrace

## Enabling API access on Dynatrace SaaS portal: <a href="#enabling-api-access-on-appdynamics-saas-controller" id="enabling-api-access-on-appdynamics-saas-controller"></a>

**Step 1:** Login to `https://<instsance-id>.live.dynatrace.com` using your credentials

**Step 2:** Go to ‘Settings’ → ‘Integration’ → ‘Dynatrace API’ and click on '**Generate token**'

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MjXWVnSqDoU91XbI0rO%2F-MjXYhc8LLKP2K-2I1HO%2FScreen%20Shot%202021-09-13%20at%209.26.44%20PM.png?alt=media\&token=daf45401-b422-4144-abcd-69ccc6852d5d)

**Step 3:** Enter API name as '**cfx-rda-api**' or any other name and enable the below permissions for both API v1 & v2

**API v1:**

* Access problem and event feed, metrics, and topology
* Read log contents
* Read synthetic monitors, location and nodes
* Read configuration
* Read audit logs

**API v2:**

* Read metrics
* Read entities
* Read problems
* Read events
* Read ActiveGates
* Read extensions
* Read extension environment configuration
* Read extension monitoring configuration
* Read synthetic locations
* Read settings
* Read SLO
* Read releases
* Read audit logs

**Step 4:** Click on '**Generate**'&#x20;

## Adding Dynatrace as Datasource/Extension in '**RDA**': <a href="#adding-appdynamics-as-datasource" id="adding-appdynamics-as-datasource"></a>

Dynatrace or any other datasource/extension's configuration is configured in RDA's user interface.  Login into RDA's user interface using a browser.

**https\://\<rda-ip-address>:9998**

Under '**Notebook**', click on '**CFXDX Python 3**' box

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-McvHoBvh7w9qGIU_z-A%2F-McvJao2W2zwuMV05Ek3%2FScreen%20Shot%202021-06-23%20at%205.01.23%20PM.png?alt=media\&token=1aa15ba1-6465-4c67-9cc8-ac4ed66f895f)

In the '**Notebook**' command box, type **`botadmin()`** and **`alt (or option) + Enter`** to open datasource administration menu.

Click on '**Add**' menu and under **Type** drop down, select **`dynatrace`**

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MjX_l8kInPYYrk-PVrU%2F-MjXbDIJgrS4QckpRiUq%2FScreen%20Shot%202021-09-13%20at%209.41.55%20PM.png?alt=media\&token=94cf0880-9866-4814-a228-66aee2758f92)

* **type**: Datasource/Extension type. In this context, it is '**dynatrace**'
* **name**: Datasource/Extension label which should be unique within the RDA
* **SaaS Domain URL:** Dynatrace SaaS instance FQDN (Ex: yas4356.live.dynatrace.com)
* **Port**: 443
* **Protocol**: https
* **API Token**: API token generated in Dynatrace SaaS portal

Click on '**Check Connectivity**' to verify the network access and credentials validity. Once it is validated, click on '**Add**' button to add the Dynatrace as a datasource.

## Dynatrace data exploration in '**RDA**': <a href="#adding-appdynamics-as-datasource" id="adding-appdynamics-as-datasource"></a>

For the details on Dynatrace inventory data collection bots, refer[ **CloudFabrix RDA Bot documentation.**](https://bot-docs.cloudfabrix.io/Bots/dynatrace/)
