Datadog
Datadog is a cloud-based observability platform that unifies metrics, traces, logs, and real user monitoring data to provide end-to-end visibility across applications, networks, and infrastructure. This guide explains how to integrate ThousandEyes metrics with Datadog using OpenTelemetry.
For more information about sending metrics to Datadog using OpenTelemetry, see Datadog OTLP Metrics Intake Endpoint.
Prerequisites
You have created a ThousandEyes test.
You have generated a Datadog API key:
In the Datadog platform, go to Organization Settings > API Keys.
Click + New Key.
Enter a Name and click Create Key.
Copy and store your API key securely.
You have identified your Datadog OTLP endpoints. The endpoint depends on your Datadog site (
<DATADOG_SITE>). To determine your site, see the Datadog documentation.Use the following endpoints:
For metrics:
https://otlp.<DATADOG_SITE>/v1/metricsExample:
https://otlp.datadoghq.eu/v1/metrics
For logs:
https://otlp.<DATADOG_SITE>/v1/logsExample:
https://otlp.datadoghq.eu/v1/logs
Stream OpenTelemetry Metrics to Datadog
Step 1: Create a Metrics Integration
Using the ThousandEyes UI
In ThousandEyes go to Manage > Integration 1.0.
Click +New Integration and select OpenTelemetry Integration.
Enter a Name for the integration.
Set the Target to HTTP.
Enter the Endpoint URL to send data in OTLP (OpenTelemetry Protocol) format:
See Datadog OTLP Metrics Intake Endpoint for the URL that corresponds to your region.
For Preset Configurations, select Datadog.
For Auth Type, select Custom.
Add the following Custom Headers:
dd-api-key:{DD_API_KEY}dd-otel-metric-config:{"resource_attributes_as_tags": true}
For the OpenTelemetry Signal, select Metric.
For the Data Model Version, select v2.
Select a test.
For more information on creating a test, see General Setup Instructions.
Click Save.
Using the ThousandEyes API
Create the HTTP stream programmatically:
Replace 281474976717575, cea, and <DATADOG_API_KEY> with your actual test ID, domain (if needed), and your Datadog API key.
ThousandEyes Dashboard in Datadog
Download the dashboard template: Download ThousandEyes Dashboard Datadog dashboard template
In Datadog, go to Dashboards and click New Dashboard > Import Dashboard JSON.
Upload the downloaded JSON file.
Open the dashboard to visualize ThousandEyes metrics in Datadog.

Stream OpenTelemetry Logs to Datadog
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 for the integration.
Set the Target to HTTP.
Enter the Endpoint URL to send data in OTLP (OpenTelemetry Protocol) format:
See Datadog OTLP Logs Intake Endpoint for the URL that corresponds to your region.
For Preset Configurations, select Datadog.
For Auth Type, select Custom.
Add the following Custom Headers:
dd-api-key:{DD_API_KEY}
For the OpenTelemetry Signal, select Log.
Select a test.
For more information on creating a test, see General Setup Instructions.
Click Save.
Using the ThousandEyes API
Create the HTTP stream programmatically:
Replace <DATADOG_API_KEY> with your Datadog API key.
Step 2: Visualize Logs in Datadog
In Datadog, navigate to Logs > Explorer.
Search for ThousandEyes logs and apply filters.
For example, you can use the following query to find logs that contain ThousandEyes data:
@resource.attributes.thousandeyes.account.id: *

Last updated