@@ -87,13 +87,13 @@ Before you deploy this template, replace the `<PLACEHOLDERS>` with your values.
87
87
88
88
``` bicep
89
89
resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
90
- ...
90
+ ...
91
91
properties: {
92
92
appInsightsConfiguration: {
93
93
connectionString: '<APP_INSIGHTS_CONNECTION_STRING>'
94
94
}
95
95
openTelemetryConfiguration: {
96
- ...
96
+ ...
97
97
tracesConfiguration: {
98
98
destinations: [
99
99
'appInsights'
@@ -105,7 +105,7 @@ resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
105
105
]
106
106
}
107
107
}
108
- ...
108
+ }
109
109
}
110
110
```
111
111
@@ -253,7 +253,7 @@ Create a [parameter file](/azure/azure-resource-manager/bicep/parameter-files) t
253
253
Before you deploy the following files, replace the ` <PLACEHOLDERS> ` with your values.
254
254
255
255
``` bicep
256
- using './main.bicep '
256
+ using '<BICEP_TEMPLATE_FILE> '
257
257
258
258
param datadogapikey = az.getSecret('<SUBSCRIPTION_ID>', '<RESOURCE_GROUP_NAME>', '<KEY_VAULT_NAME>', '<SECRET_NAME>', '<SECRET_VERSION_ID>')
259
259
```
@@ -267,7 +267,7 @@ You can now reference the `datadogapikey` parameter in your Bicep template.
267
267
param datadogapikey string
268
268
269
269
resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
270
- ...
270
+ ...
271
271
properties: {
272
272
openTelemetryConfiguration: {
273
273
destinationsConfiguration: {
@@ -276,14 +276,15 @@ resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
276
276
key: datadogapikey
277
277
}
278
278
}
279
+ ...
279
280
metricsConfiguration: {
280
281
destinations: [
281
282
'dataDog'
282
283
'customDashboard'
283
284
]
284
285
}
285
286
}
286
- ...
287
+ }
287
288
}
288
289
```
289
290
@@ -395,7 +396,7 @@ While you can set up as many OTLP-configured endpoints as you like, each endpoin
395
396
396
397
``` bicep
397
398
resource environment 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
398
- ...
399
+ ...
399
400
properties: {
400
401
openTelemetryConfiguration: {
401
402
destinationsConfiguration: {
0 commit comments