# 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**'

![](/files/-MjXYhc8LLKP2K-2I1HO)

**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

![](/files/-McvJao2W2zwuMV05Ek3)

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`**

![](/files/-MjXbDIJgrS4QckpRiUq)

* **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/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudfabrix.io/rda/cfxdx-datasource-integrations/dynatrace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
