---
sidebar_label: Dynatrace
doc_id: 94ff1697-b982-4bdd-8df1-73039047e343
description: >-
  Configuration schema for Dynatrace monitoring and alerting with API
  authentication and environment settings
keywords:
  - dynatrace
  - monitoring
  - api authentication
  - alerting
  - environment configuration
---

# Dynatrace

Dynatrace configuration for monitoring and alerting

**Type**: `dynatrace`

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|[**login**](#login)<br/>(Authentication)|`object`|Credentials required to authenticate with the Dynatrace API<br/>|yes|
|[**environment**](#environment)|`object`|Details required to configure the Dynatrace environment<br/>|yes|

**Additional Properties:** not allowed  
**Example**

```json
{
    "login": {
        "api_key": "ghi13579",
        "client_id": "abc12345",
        "client_secret": "def67890"
    },
    "environment": {
        "env_id": "abc12345",
        "env_url": "https://abc12345.live.dynatrace.com",
        "env_name": "Production"
    }
}
```

<a name="login"></a>
## login: Authentication

Credentials required to authenticate with the Dynatrace API

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**api\_key**|`string`|The API key used to authenticate requests to Dynatrace API<br/>Minimal Length: `1`<br/>|yes|
|**client\_id**|`string`|The client ID used to identify your application when accessing Dynatrace API<br/>Minimal Length: `1`<br/>|yes|
|**client\_secret**|`string`|The secret key associated with your client ID for secure API access<br/>Minimal Length: `1`<br/>|yes|

**Additional Properties:** not allowed  
**Example**

```json
{
    "api_key": "ghi13579",
    "client_id": "abc12345",
    "client_secret": "def67890"
}
```

<a name="environment"></a>
## environment: Environment

Details required to configure the Dynatrace environment

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**env\_id**<br/>(Id)|`string`|The unique identifier of the Dynatrace environment<br/>Minimal Length: `1`<br/>|yes|
|**env\_url**<br/>(URL)|`string`|The base URL of the Dynatrace environment. Ensure it matches the format provided by Dynatrace<br/>Minimal Length: `1`<br/>Format: `"uri"`<br/>|no|
|**env\_name**<br/>(Name)|`string`|The name of the environment (e.g., Production, Staging, etc.)<br/>Minimal Length: `1`<br/>|yes|

**Additional Properties:** not allowed  
**Example**

```json
{
    "env_id": "abc12345",
    "env_url": "https://abc12345.live.dynatrace.com",
    "env_name": "Production"
}
```

