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
> Due to the sensitivity of the connection-string, you will not be able to see the detail values of the connection string when the command returns. The system will display it as null.
93
97
94
98
---
95
99
@@ -140,11 +144,15 @@ Before you run this command, replace placeholders surrounded by `<>` with your v
140
144
141
145
```azurecli
142
146
az containerapp env telemetry data-dog set \
147
+
--resource-group <YOUR_RESOURCE_GROUP_NAME> \
148
+
--name <YOUR_ENVIRONMENT_NAME> \
143
149
--site "<YOUR_DATADOG_SUBDOMAIN>.datadoghq.com" \
144
150
--key <YOUR_DATADOG_KEY> \
145
151
--enable-open-telemetry-traces true \
146
152
--enable-open-telemetry-metrics true
147
153
```
154
+
>[!NOTE]
155
+
> Due to the sensitivity of the key, you will not be able to see the detail values of the key when the command returns. The system will display it as null.
148
156
149
157
---
150
158
@@ -200,25 +208,33 @@ While you can set up as many OTLP-configured endpoints as you like, each endpoin
200
208
201
209
```azurecli
202
210
az containerapp env telemetry otlp add \
203
-
--name "otlp1" \
211
+
--resource-group <YOUR_RESOURCE_GROUP_NAME> \
212
+
--name <YOUR_ENVIRONMENT_NAME> \
213
+
--otlp-name "otlp1" \
204
214
--endpoint "ENDPOINT_URL_1" \
205
215
--insecure false \
206
216
--headers "api-key-1=key" \
207
217
--enable-open-telemetry-traces true \
208
218
--enable-open-telemetry-metrics true
209
219
az containerapp env telemetry otlp add \
210
-
--name "otlp2" \
220
+
--resource-group <YOUR_RESOURCE_GROUP_NAME> \
221
+
--name <YOUR_ENVIRONMENT_NAME> \
222
+
--otlp-name "otlp2" \
211
223
--endpoint "ENDPOINT_URL_2" \
212
224
--insecure true \
213
225
--enable-open-telemetry-traces true \
214
226
--enable-open-telemetry-logs true
215
227
```
228
+
>[!NOTE]
229
+
> Due to the sensitivity of the headers value, you will not be able to see the detail values of the headers value when the command returns. The system will display them as null.
216
230
217
231
---
218
232
219
233
| Name | Description |
220
234
|---|---|
221
-
|`name`| A name you select to identify your OTLP-configured endpoint. |
235
+
|`resource-group`| Name of resource group. You can configure the default group using az configure --defaults group=<name>. |
236
+
|`name`| Name of the Container Apps environment. |
237
+
|`otlp-name`| A name you select to identify your OTLP-configured endpoint. |
222
238
|`endpoint`| The URL of the destination that receives collected data. |
223
239
|`insecure`| Default true. Defines whether to enable client transport security for the exporter's gRPC connection. If false, the `headers` parameter is required. |
224
240
|`headers`| Space-separated values, in 'key=value' format, that provide required information for the OTLP endpoints' security. Example: `"api-key=key other-config-value=value"`. |
0 commit comments