---
title: Datadog
description: Export agent traces to Datadog APM alongside the rest of your stack.
url: "https://eve.dev/integrations/datadog-instrumentation"
docs_index: /llms.txt
type: instrumentation
keywords:
  - otel
  - opentelemetry
  - tracing
  - observability
  - apm
  - otlp
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

Instrumentation integration for eve. Export agent traces to Datadog APM alongside the rest of your stack.

## Install

Add Datadog instrumentation from eve's registry:

```bash
eve add instrumentation/datadog
```

## Quick start

Create `agent/instrumentation/datadog.ts` and point the OTLP exporter at Datadog's intake for your site, authenticated with your API key:

```ts
// agent/instrumentation/datadog.ts
import { OTLPHttpProtoTraceExporter } from "@vercel/otel";
import { otelIntegration } from "eve/instrumentation/otel";

export default otelIntegration({
  traceExporter: new OTLPHttpProtoTraceExporter({
    url: process.env.DATADOG_OTLP_TRACES_ENDPOINT!,
    headers: { "dd-api-key": process.env.DD_API_KEY! },
  }),
});
```

## Configure

Datadog's direct OTLP trace intake is site-specific (for example `datadoghq.com` vs `datadoghq.eu`) and currently in Preview; look up the endpoint for your site in Datadog's OTLP intake docs. For production, Datadog recommends routing through an OpenTelemetry Collector with the Datadog exporter instead. See the [OpenTelemetry guide](/docs/observability/otel) for trace topology and content policy.

## Related resources

- [Build an incident response SRE agent with eve](https://vercel.com/kb/guide/eve-incident-sre-agent): Deploy a Slack-based investigation agent that connects to Datadog, GitHub, and Vercel, tests root-cause hypotheses, and posts evidence-linked findings in threads.

[Read the full instrumentation documentation](/docs/observability/otel)

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)