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
Before you run this command, replace placeholders surrounded by `<>` with your values.
114
+
Before you run this command, replace the `<PLACEHOLDERS>` with your values.
89
115
90
116
```azurecli
91
117
az containerapp env telemetry app-insights set \
@@ -142,7 +168,7 @@ The Datadog agent configuration requires a value for `site` and `key` from your
142
168
|`DD_SITE`|`site`|
143
169
|`DD_API_KEY`|`key`|
144
170
145
-
Once you have these configuration details, you can configure the agent via your container app's ARM template or with Azure CLI commands.
171
+
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.
146
172
147
173
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.
148
174
@@ -160,7 +186,7 @@ For more information, see:
160
186
161
187
Create a [parameter file](/azure/azure-resource-manager/templates/parameter-files) to retrieve your Datadog API key from an Azure Key Vault.
162
188
163
-
Before you deploy the following files, replace placeholders surrounded by `<>` with your values.
189
+
Before you deploy the following files, replace the `<PLACEHOLDERS>` with your values.
164
190
165
191
```json
166
192
{
@@ -179,7 +205,7 @@ Before you deploy the following files, replace placeholders surrounded by `<>` w
179
205
}
180
206
```
181
207
182
-
You can now reference the `datadogapikey` parameter in your ARM Template.
208
+
You can now reference the `datadogapikey` parameter in your ARM template.
183
209
184
210
```json
185
211
{
@@ -211,7 +237,7 @@ You can now reference the `datadogapikey` parameter in your ARM Template.
211
237
}
212
238
```
213
239
214
-
To deploy the resource, run the following Azure CLI command, replacing the placeholders surrounded by `<>` with your values.
240
+
To deploy the resource, run the following Azure CLI command, replacing the `<PLACEHOLDERS>` with your values.
215
241
216
242
```azurecli
217
243
az deployment group create \
@@ -220,9 +246,60 @@ az deployment group create \
220
246
--parameters <PARAMETER_FILE>
221
247
```
222
248
249
+
# [Bicep](#tab/bicep)
250
+
251
+
Create a [parameter file](/azure/azure-resource-manager/bicep/parameter-files) to retrieve your Datadog API key from an Azure Key Vault.
252
+
253
+
Before you deploy the following files, replace the `<PLACEHOLDERS>` with your values.
@@ -454,11 +574,13 @@ The following example ARM template shows how to use an OTLP endpoint named `cust
454
574
455
575
## Example OpenTelemetry configuration
456
576
457
-
The following example ARM template shows how you might configure your container app to collect telemetry data using Azure Monitor Application Insights, Datadog, and with a custom OTLP agent named `customDashboard`.
577
+
The following example template shows how you might configure your container app to collect telemetry data using Azure Monitor Application Insights, Datadog, and with a custom OTLP agent named `customDashboard`.
458
578
459
579
This example works with the parameter file used to retrieve the [Datadog API](#datadog) key from an Azure Key Vault.
460
580
461
-
Before you deploy this template, replace placeholders surrounded by `<>` with your values.
581
+
Before you deploy this template, replace the `<PLACEHOLDERS>` with your values.
582
+
583
+
# [ARM template](#tab/arm-example)
462
584
463
585
```json
464
586
{
@@ -504,6 +626,58 @@ Before you deploy this template, replace placeholders surrounded by `<>` with yo
0 commit comments