Dynatrace
Dynatrace is an observability and security platform that uses causal AI to deliver precise insights and automate DevSecOps at scale. This guide shows how to stream ThousandEyes metrics, traces, and logs to Dynatrace using OpenTelemetry.
For Dynatrace’s OpenTelemetry overview, see OpenTelemetry and Dynatrace. For the signals ThousandEyes supports, see Supported Signals.
Prerequisites
You have created a ThousandEyes test.
You have a Dynatrace API access token with scopes Ingest metrics, Ingest logs, and Ingest OpenTelemetry traces:
In Dynatrace, search for access token.
Go to Access Tokens > Generate new token.
Enter a token name and select the scopes above.
Click Generate token, then copy the token for later use.
Stream OpenTelemetry Metrics to Dynatrace
Step 1: Create a Metrics Integration
Using the ThousandEyes UI
In ThousandEyes, go to Manage > Integration 1.0.
Click +New Integration and choose OpenTelemetry Integration.
Enter a Name.
Set Target to HTTP.
Set the Endpoint URL to
https://{INSTANCE}.live.dynatrace.com/api/v2/otlp/v1/metrics(replace{INSTANCE}).For Preset Configurations, select Dynatrace.
Set Auth Type to Custom and add
"Authorization": "Api-Token {TOKEN}"(use the token from Prerequisites).For Signal, select Metric.
For Data Model Version, select v2.
Select a test. For help, see General Setup Instructions.
Click Save.
Using the ThousandEyes API
Create the HTTP stream programmatically:
Replace {TOKEN} and {INSTANCE} with your Dynatrace values.
Step 2: Enable ThousandEyes Resource Attributes in Dynatrace
Allow ThousandEyes resource attributes so they appear on metrics:
In Dynatrace, go to Settings and search for OpenTelemetry metrics.
Under Allow list: resource and scope attributes, add these keys (click Add Item for each):
thousandeyes.stream.idthousandeyes.test.idthousandeyes.test.namethousandeyes.source.agent.idthousandeyes.source.agent.name
For the full list, see common resource attributes.
Click Save Changes.
ThousandEyes Dashboard in Dynatrace
Download the dashboard template: ThousandEyes Dynatrace dashboard template.
In Dynatrace, go to Dashboards and click Upload.
Open the dashboard to visualize ThousandEyes data.

Stream OpenTelemetry Traces to Dynatrace
Step 1: Create a Traces Integration
Using the ThousandEyes UI
In ThousandEyes, go to Manage > Integration 1.0.
Click +New Integration and select OpenTelemetry Integration.
Enter a Name.
Set Target to HTTP.
Set the Endpoint URL to
https://{INSTANCE}.live.dynatrace.com/api/v2/otlp/v1/traces(replace{INSTANCE}).For Preset Configurations, select Dynatrace.
Set Auth Type to Custom and add
"Authorization": "Api-Token {TOKEN}".For Signal, select Trace.
Select a test. See General Setup Instructions if needed.
Click Save.
Using the ThousandEyes API
Create the HTTP stream programmatically:
Replace {TOKEN} and {INSTANCE} with your Dynatrace values.
Step 2: Visualize Traces in Dynatrace
In Dynatrace, open Distributed Tracing.
Search for spans from ThousandEyes and apply filters (duration, errors, target URL, etc.).

Stream OpenTelemetry Logs to Dynatrace
Step 1: Create a Logs Integration
Using the ThousandEyes UI
In ThousandEyes, go to Manage > Integration 1.0.
Click +New Integration and select OpenTelemetry Integration.
Enter a Name.
Set Target to HTTP.
Set the Endpoint URL to
https://{INSTANCE}.live.dynatrace.com/api/v2/otlp/v1/logs(replace{INSTANCE}).For Preset Configurations, select Dynatrace.
Set Auth Type to Custom and add
"Authorization": "Api-Token {TOKEN}".For Signal, select Log.
Select a test. For details, see General Setup Instructions.
Click Save.
Using the ThousandEyes API
Create the HTTP stream programmatically:
Replace {TOKEN} and {INSTANCE} with your Dynatrace values.
Step 2: Visualize Logs in Dynatrace
In Dynatrace, open Logs.
Search for ThousandEyes logs and apply filters (body, timestamp, account name, user name, user email, etc.).

Last updated