Skip to content

Commit 8c242f2

Browse files
Rename --EnableOpenTelemetryTraces to --enable-open-telemetry-traces
`az containerapp env telemetry app-insights set` parameters `--EnableOpenTelemetryTraces` should be called `--enable-open-telemetry-traces`
1 parent c7a3605 commit 8c242f2

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

articles/container-apps/opentelemetry-agents.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ ms.topic: how-to
1111

1212
# Collect and read OpenTelemetry data in Azure Container Apps (preview)
1313

14-
Using an [OpenTelemetry](https://opentelemetry.io/) data agent with your Azure Container Apps environment, you can choose to send observability data in an OpenTelemetry format by:
14+
Using an [
15+
OpenTelemetry](https://opentelemetry.io/) data agent with your Azure Container Apps environment, you can choose to send observability data in an OpenTelemetry format by:
1516

1617
- Piping data from an agent into a desired endpoint. Destination options include Azure Monitor Application Insights, Datadog, and any OpenTelemetry Protocol (OTLP)-compatible endpoint.
1718

@@ -87,8 +88,8 @@ Before you run this command, replace placeholders surrounded by `<>` with your v
8788
```azurecli
8889
az containerapp env telemetry app-insights set \
8990
--connection-string <YOUR_APP_INSIGHTS_CONNECTION_STRING> \
90-
--EnableOpenTelemetryTraces true \
91-
--EnableOpenTelemetryLogs true
91+
--enable-open-telemetry-traces true \
92+
--enable-open-telemetry-logs true
9293
```
9394

9495
---
@@ -142,8 +143,8 @@ Before you run this command, replace placeholders surrounded by `<>` with your v
142143
az containerapp env telemetry data-dog set \
143144
--site "<YOUR_DATADOG_SUBDOMAIN>.datadoghq.com" \
144145
--key <YOUR_DATADOG_KEY> \
145-
--EnableOpenTelemetryTraces true \
146-
--EnableOpenTelemetryMetrics true
146+
--enable-open-telemetry-traces true \
147+
--enable-open-telemetry-metrics true
147148
```
148149

149150
---
@@ -204,14 +205,14 @@ az containerap env telemetry otlp add \
204205
--endpoint "ENDPOINT_URL_1" \
205206
--insecure false \
206207
--headers "api-key-1=key" \
207-
--EnableOpenTelemetryTraces true \
208-
--EnableOpenTelemetryMetrics true
208+
--enable-open-telemetry-traces true \
209+
--enable-open-telemetry-metrics true
209210
az containerap env telemetry otlp add \
210211
--name "otlp2"
211212
--endpoint "ENDPOINT_URL_2" \
212213
--insecure true \
213-
--EnableOpenTelemetryTraces true \
214-
--EnableOpenTelemetryLogs true
214+
--enable-open-telemetry-traces true \
215+
--enable-open-telemetry-logs true
215216
```
216217

217218
---
@@ -366,4 +367,4 @@ See the destination service for their billing structure and terms. For example,
366367
## Next steps
367368

368369
> [!div class="nextstepaction"]
369-
> [Learn about monitoring and health](observability.md)
370+
> [Learn about monitoring and health](observability.md)

0 commit comments

Comments
 (0)