You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/partners/datadog.mdx
+39-4
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
title: 'Datadog Exporter'
3
-
description: Configure the AWS Distro for OpenTelemetry Collector to send metricsand traces to Datadog
3
+
description: Configure the AWS Distro for OpenTelemetry Collector to send metrics, traces and logs to Datadog
4
4
path: '/docs/partners/datadog'
5
5
---
6
6
7
7
## Overview
8
8
9
-
Datadog provides monitoring and insights into infrastructure and application performance across your entire stack. The AWS Distro for Open Telemetry includes the [Datadog exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/master/exporter/datadogexporter), which takes OpenTelemetry data (metricsand traces) collected by the ADOT Collector and forwards it on to Datadog. From there, you can use Datadog tools and dashboards to analyze and solve performance problems in your distributed apps.
9
+
Datadog provides monitoring and insights into infrastructure and application performance across your entire stack. The AWS Distro for OpenTelemetry includes the [Datadog exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/master/exporter/datadogexporter), which takes OpenTelemetry data (metrics, traces and logs) collected by the ADOT Collector and forwards it on to Datadog. From there, you can use Datadog tools and dashboards to analyze and solve performance problems in your distributed apps.
10
10
11
11
## Prerequisites
12
12
@@ -16,7 +16,7 @@ Datadog provides monitoring and insights into infrastructure and application per
16
16
17
17
## Configuring the exporter
18
18
19
-
Configure the ADOT collector to send metricsand traces to Datadog by adding a `datadog` exporter to your [OpenTelemetry configuration YAML file](https://opentelemetry.io/docs/collector/configuration/) along with your Datadog API key:
19
+
Configure the ADOT collector to send metrics, traces and logs to Datadog by adding a `datadog` exporter to your [OpenTelemetry configuration YAML file](https://opentelemetry.io/docs/collector/configuration/) along with your Datadog API key:
20
20
21
21
```yaml lineNumbers=true
22
22
datadog:
@@ -42,7 +42,7 @@ processors:
42
42
43
43
## Specifying resource attributes
44
44
45
-
On each OpenTelemetry-instrumented application, set the resource attributes `development.environment`, `service.name`, and `service.version` using [the language's SDK](https://opentelemetry.io/docs/). As a fall-back, you can also configure hostname (optionally) at the collector level for [unified service tagging](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging) by following the [example configuration file](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/master/exporter/datadogexporter/example/config.yaml). If you don't specify the hostname explicitly, the exporter attempts to get an automatic default by checking the following sources in order, falling back to the next one if the current one is unavailable or invalid:
45
+
On each OpenTelemetry-instrumented application, set the resource attributes `development.environment.name`, `service.name`, and `service.version` using [the language's SDK](https://opentelemetry.io/docs/). As a fall-back, you can also configure hostname (optionally) at the collector level for [unified service tagging](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging) by following the [example configuration file](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/master/exporter/datadogexporter/example/config.yaml). If you don't specify the hostname explicitly, the exporter attempts to get an automatic default by checking the following sources in order, falling back to the next one if the current one is unavailable or invalid:
46
46
47
47
<!--- 1. Hostname set by another OpenTelemetry component -->
48
48
1. Manually set the hostname in configuration
@@ -102,6 +102,10 @@ Here is an example configuration for collecting metrics data:
102
102
receivers:
103
103
otlp:
104
104
105
+
processors:
106
+
batch:
107
+
timeout: 10s
108
+
105
109
exporters:
106
110
datadog/api:
107
111
hostname: i-0e123a456a123456a
@@ -118,6 +122,37 @@ service:
118
122
pipelines:
119
123
metrics:
120
124
receivers: [otlp]
125
+
processors: [batch]
126
+
exporters: [datadog/api]
127
+
```
128
+
129
+
Here is an example configuration for collecting logs data:
0 commit comments