Skip to content

Commit a18d224

Browse files
Update opentelemetry-agents.md
formatting & added tabs on all items for Terraform
1 parent 6034422 commit a18d224

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

articles/container-apps/opentelemetry-agents.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ Before you deploy this template, replace placeholders surrounded by `<>` with yo
165165
}
166166
```
167167

168-
169168
# [Azure CLI](#tab/azure-cli)
170169

171170
Before you run this command, replace placeholders surrounded by `<>` with your values.
@@ -178,6 +177,11 @@ az containerapp env telemetry data-dog set \
178177
--enable-open-telemetry-metrics true
179178
```
180179

180+
# [Terraform](#tab/terraform)
181+
182+
```hcl
183+
```
184+
181185
---
182186

183187
## OTLP endpoint
@@ -246,6 +250,11 @@ az containerapp env telemetry otlp add \
246250
--enable-open-telemetry-logs true
247251
```
248252

253+
# [Terraform](#tab/terraform)
254+
255+
```hcl
256+
```
257+
249258
---
250259

251260
| Name | Description |
@@ -274,9 +283,8 @@ To configure an agent, use the `destinations` array to define which agents your
274283
- You can only set up one Application Insights and Datadog endpoint each at a time.
275284
- While you can define more than one OTLP-configured endpoint, each one must have a distinct name.
276285

277-
278-
The following example shows how to use an OTLP endpoint named `customDashboard`. It sends:
279-
- traces to app insights and `customDashboard`
286+
The following example ARM template shows how to use an OTLP endpoint named `customDashboard`. It sends:
287+
- traces to app insights and `customDashboard`
280288
- logs to app insights and `customDashboard`
281289
- metrics to DataDog and `customDashboard`
282290

@@ -308,6 +316,7 @@ The following example shows how to use an OTLP endpoint named `customDashboard`.
308316
}
309317
}
310318
}
319+
```
311320

312321
## Example OpenTelemetry configuration
313322

0 commit comments

Comments
 (0)