|
| 1 | +--- |
| 2 | +title: Connecting to Datadog |
| 3 | +subtitle: Choose the right connection method for your infrastructure |
| 4 | +description: Overview of different methods to connect Apollo Router to Datadog for telemetry collection |
| 5 | +--- |
| 6 | + |
| 7 | +Connect your Apollo Router to Datadog using the method that best fits your infrastructure and requirements. |
| 8 | + |
| 9 | +## Connection methods |
| 10 | + |
| 11 | +This guide provides detailed configuration for the OpenTelemetry Collector and Datadog Agent methods. |
| 12 | + |
| 13 | +Datadog supports multiple methods for ingesting OpenTelemetry data: the most relevant are covered in this guide for your convenience, but there are others available. |
| 14 | + |
| 15 | +- **[Datadog OpenTelemetry collector (DDOT)](https://docs.datadoghq.com/opentelemetry/setup/)** - Datadog's distribution of the OpenTelemetry Collector |
| 16 | +- **[OpenTelemetry collector](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/otel-collector)** - Vendor-neutral telemetry pipeline with advanced processing (guide available) |
| 17 | +- **[Datadog agent](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/datadog-agent/datadog-agent-traces)** - Direct connection with native Datadog features (guide available) |
| 18 | +- **[Agentless](https://docs.datadoghq.com/opentelemetry/setup/)** - Direct OTLP ingestion to Datadog |
| 19 | + |
| 20 | +For complete information on all connection methods including DDOT Collector and Agentless options, refer to [Datadog's OpenTelemetry setup documentation](https://docs.datadoghq.com/opentelemetry/setup/) and [compatibility guide](https://docs.datadoghq.com/opentelemetry/compatibility/). |
| 21 | + |
| 22 | +## Quick start |
| 23 | + |
| 24 | +For the fastest setup, choose one of the following methods based on your current Datadog setup: |
| 25 | + |
| 26 | +1. If you already have Datadog Agent running, use the [Datadog Agent](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/datadog-agent/datadog-agent-traces). |
| 27 | +2. If you are starting fresh, use the [Datadog OpenTelemetry Collector (DDOT)](https://docs.datadoghq.com/opentelemetry/setup/) or the [OpenTelemetry Collector](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/otel-collector). |
| 28 | +3. For containerized deployments, consider the [Apollo Runtime container](https://github.com/apollographql/apollo-runtime) which includes pre-configured examples for the OpenTelemetry Collector. |
| 29 | +4. For a direct connection with no agent deployment required, use the [Agentless](https://docs.datadoghq.com/opentelemetry/setup/) method. |
| 30 | + |
| 31 | +### Datadog OpenTelemetry collector (Recommended) |
| 32 | + |
| 33 | +**[Datadog OpenTelemetry Collector](https://docs.datadoghq.com/opentelemetry/setup/)** is a Datadog-specific distribution of the OpenTelemetry collector that combines the OpenTelemetry Collector and the Datadog Agent. It is currently Datadog's recommended way to send OpenTelemetry to Datadog. |
| 34 | +This solution is tightly coupled to Datadog and is the most straightforward solution if you are committed to using Datadog. |
| 35 | + |
| 36 | +### OpenTelemetry collector |
| 37 | + |
| 38 | +**[OpenTelemetry collector](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/otel-collector)** provides a vendor-neutral telemetry pipeline with advanced processing capabilities including sampling, filtering, and multi-backend support. |
| 39 | + |
| 40 | +### Datadog agent |
| 41 | + |
| 42 | +The Datadog agent offers direct OTLP ingestion, integrating with Datadog's existing agent infrastructure for logs, infrastructure monitoring, and other telemetry collection. |
| 43 | + |
| 44 | +- [Datadog agent traces configuration](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/datadog-agent/datadog-agent-traces) |
| 45 | +- [Datadog agent metrics configuration](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/connecting-to-datadog/datadog-agent/datadog-agent-metrics) |
| 46 | + |
| 47 | +### Agentless |
| 48 | + |
| 49 | +**[Agentless](https://docs.datadoghq.com/opentelemetry/setup/)** provides direct OTLP ingestion to Datadog without requiring additional infrastructure components. |
| 50 | + |
| 51 | +## Next steps |
| 52 | + |
| 53 | +After setting up your connection method: |
| 54 | + |
| 55 | +1. [Configure router instrumentation](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/router-instrumentation) for Datadog-optimized telemetry |
| 56 | +2. [Import dashboard templates](/graphos/routing/observability/router-telemetry-otel/apm-guides/datadog/observing-and-monitoring/dashboard-template) for router monitoring |
0 commit comments