Skip to content

Commit 31b9401

Browse files
committed
Minor edits.
1 parent f9e5306 commit 31b9401

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/container-apps/opentelemetry-agents.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ Before you deploy this template, replace the `<PLACEHOLDERS>` with your values.
8787

8888
```bicep
8989
resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
90-
...
90+
...
9191
properties: {
9292
appInsightsConfiguration: {
9393
connectionString: '<APP_INSIGHTS_CONNECTION_STRING>'
9494
}
9595
openTelemetryConfiguration: {
96-
...
96+
...
9797
tracesConfiguration: {
9898
destinations: [
9999
'appInsights'
@@ -105,7 +105,7 @@ resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
105105
]
106106
}
107107
}
108-
...
108+
}
109109
}
110110
```
111111

@@ -253,7 +253,7 @@ Create a [parameter file](/azure/azure-resource-manager/bicep/parameter-files) t
253253
Before you deploy the following files, replace the `<PLACEHOLDERS>` with your values.
254254

255255
```bicep
256-
using './main.bicep'
256+
using '<BICEP_TEMPLATE_FILE>'
257257
258258
param datadogapikey = az.getSecret('<SUBSCRIPTION_ID>', '<RESOURCE_GROUP_NAME>', '<KEY_VAULT_NAME>', '<SECRET_NAME>', '<SECRET_VERSION_ID>')
259259
```
@@ -267,7 +267,7 @@ You can now reference the `datadogapikey` parameter in your Bicep template.
267267
param datadogapikey string
268268

269269
resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
270-
...
270+
...
271271
properties: {
272272
openTelemetryConfiguration: {
273273
destinationsConfiguration: {
@@ -276,14 +276,15 @@ resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
276276
key: datadogapikey
277277
}
278278
}
279+
...
279280
metricsConfiguration: {
280281
destinations: [
281282
'dataDog'
282283
'customDashboard'
283284
]
284285
}
285286
}
286-
...
287+
}
287288
}
288289
```
289290

@@ -395,7 +396,7 @@ While you can set up as many OTLP-configured endpoints as you like, each endpoin
395396

396397
```bicep
397398
resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
398-
...
399+
...
399400
properties: {
400401
openTelemetryConfiguration: {
401402
destinationsConfiguration: {

0 commit comments

Comments
 (0)