Skip to content

Commit dcf23c2

Browse files
authored
Merge pull request #126674 from v-jaswel/aca/v-jaswel_372350_otel_20250424
[ACA] [372350] Clarify datadog prereqs.
2 parents 7f0e2f6 + ff2f0e4 commit dcf23c2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

articles/container-apps/opentelemetry-agents.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn to record and query data collected using OpenTelemetry in Azu
44
services: container-apps
55
author: craigshoemaker
66
ms.service: azure-container-apps
7-
ms.date: 02/07/2025
7+
ms.date: 04/28/2025
88
ms.author: cshoe
99
ms.topic: how-to
1010
---
@@ -27,7 +27,7 @@ Each endpoint type (Azure Monitor Application Insights, DataDog, and OTLP) has s
2727

2828
## Prerequisites
2929

30-
Enabling the managed OpenTelemetry agent to your environment doesn't automatically mean the agent collects data. Agents only send data based on your configuration settings and instrumenting your code correctly.
30+
Enabling the managed OpenTelemetry agent for your environment doesn't automatically mean the agent collects data. Agents only send data based on your configuration settings and instrumenting your code correctly.
3131

3232
### Configure source code
3333

@@ -161,13 +161,17 @@ resource "azapi_update_resource" "app_insights_open_telemetry_integration" {
161161

162162
## Datadog
163163

164-
The Datadog agent configuration requires a value for `site` and `key` from your Datadog instance. Gather these values from your Datadog instance according to this table:
164+
You do not need to run the Datadog agent in your container app if you've enabled the managed OpenTelemetry agent for your environment.
165165

166-
| Datadog agent property | Container Apps configuration property |
166+
The OpenTelemetry agent configuration requires a value for `site` and `key` from your Datadog instance. Gather these values from your Datadog instance according to this table:
167+
168+
| Datadog instance property | OpenTelemetry agent configuration property |
167169
|---|---|
168170
| `DD_SITE` | `site` |
169171
| `DD_API_KEY` | `key` |
170172

173+
If you created your Datadog instance in the Azure portal, see [API keys](/azure/partner-solutions/datadog/manage#api-keys) for more information.
174+
171175
Once you have these configuration details, you can configure the agent via your container app's ARM or Bicep template or with Azure CLI commands.
172176

173177
Avoid specifying the value of a secret, such as your Datadog API key, directly in a production environment. Instead, use a reference to a secret stored in Azure Key Vault.
@@ -305,7 +309,7 @@ Before you run this command, replace the `<PLACEHOLDERS>` with your values.
305309
az containerapp env telemetry data-dog set \
306310
--resource-group <RESOURCE_GROUP_NAME> \
307311
--name <ENVIRONMENT_NAME> \
308-
--site "<DATADOG_SUBDOMAIN>.datadoghq.com" \
312+
--site "<DATADOG_SUBDOMAIN>.datadoghq.com" \
309313
--key <DATADOG_KEY> \
310314
--enable-open-telemetry-traces true \
311315
--enable-open-telemetry-metrics true

0 commit comments

Comments
 (0)