# Dynatrace

> Dynatrace: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 21 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads a Dynatrace environment’s problems, monitored entities and metric descriptors, so operations agents can explain a problem from what it affected and what is measured. It reads what Dynatrace says about the estate; it never reads metric data points, logs or traces.

Built against the Dynatrace Environment API v2.

## At a glance

| Collector                   | Dynatrace, version `0.1.0`                                                                                                                                                                             |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Reads                       | Dynatrace: Dynatrace SaaS Environment API v2 (problems, entities, metrics) ([the vendor's documentation](https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api)) |
| Family                      | Observability                                                                                                                                                                                          |
| Kind                        | Monitoring                                                                                                                                                                                             |
| Ways to connect             | Access token                                                                                                                                                                                           |
| Scopes                      | - Read: `problems.read`, `entities.read`, `metrics.read`                                                                                                                                               |
| Read only                   | Yes                                                                                                                                                                                                    |
| Vendor's API can move money | No                                                                                                                                                                                                     |
| Personal data               | Content                                                                                                                                                                                                |
| Hosts it may contact        | `*.live.dynatrace.com`, `*.apps.dynatrace.com`                                                                                                                                                         |
| Vendor API versions         | Environment API v2: /api/v2/problems, /api/v2/entities, /api/v2/metrics                                                                                                                                |
| Lowest engine version       | `0.47.1`                                                                                                                                                                                               |

## What it reads

- Problems: title, status, severity, impact level, start and end, root cause entity, affected entities and management zones, over the last `history_days` (30 by default). A problem is rewritten when it changes (it closes, say). Problems are history and are never withdrawn.
- Entities: the entity types named in `entity_types` (services, hosts, process groups and applications by default), with their tags and first and last seen. An entity that has gone is withdrawn.
- Metrics: each metric descriptor’s id, name, description, unit and entity types. A descriptor that has gone is withdrawn.
- Lists are paged by `nextPageKey`. Each run lists them and writes only the objects whose text differs from the last run.
- Never read: metric data points, logs, traces, sessions, settings and users.

## How to connect

1. In Dynatrace, open **Access tokens** and generate a token with only the `problems.read`, `entities.read` and `metrics.read` scopes.
2. In LightHouse, open **Connectors**, choose **Dynatrace**, give the environment host (`<environment-id>.live.dynatrace.com`), a label and how often to read, and paste the token.
3. In code, give the deployment the token as `DYNATRACE_TOKEN` from your secret store and add a `kind: dynatrace` source card with `environment`, `label` and `requires`. `token_env` changes the variable name; `kinds`, `entity_types` and `history_days` narrow what is read.

## Permissions

Read scopes only: `problems.read`, `entities.read` and `metrics.read`. The collector sends only `GET` requests to the environment host you give, with the token as `Authorization: Api-Token`; it never writes, never closes or comments on a problem and never changes a setting. A token with a write scope is one a leak turns into damage, so give it none. Its read-only test proves the collector’s side on every change.

## Limits

- SaaS environments only (`*.live.dynatrace.com`); a Managed cluster’s address is refused.
- Metric descriptors only; data points are not read.
- Entities are those seen in the last three days (`from=now-3d`); an entity not seen for longer is withdrawn.
- Requests are paced and back off when Dynatrace asks (`Retry-After`).
- Built to fixtures, not yet certified: response shapes are taken from Dynatrace’s public API reference and are confirmed only when the collector is certified against an environment.

## Data handling

- Problem titles, entity names, tags and metric descriptions are copied into the deployment’s corpus under the source’s `label`. They describe a business’s systems and can name hosts and services.
- The token stays in your secret store and is never written to logs or run notes; it is sent only to the environment host.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                       | What it means                                                    | What to do                                                         |
| -------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------ |
| `is not a Dynatrace SaaS environment host`         | `environment` is not a `*.live.dynatrace.com` address            | Use the environment address, such as `abc12345.live.dynatrace.com` |
| `unknown Dynatrace kinds`                          | `kinds` names something other than problems, entities or metrics | Correct the list                                                   |
| `credential variable 'DYNATRACE_TOKEN' is not set` | The token variable is empty                                      | Set it from your secret store                                      |
| `HTTP 401`                                         | The token is revoked or expired                                  | Generate a new token                                               |
| `HTTP 403`                                         | The token lacks a read scope                                     | Add `problems.read`, `entities.read` or `metrics.read`             |
| Read succeeded, 0 written                          | Nothing changed since the last read                              | Nothing to do                                                      |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                                      | Method                              | Expires        |
| ---------------- | --------- | -------- | ----------------------------------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | Environment API v2: problems, entities, metrics | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/dynatrace/
