Skip to content

Commit ed2f646

Browse files
feat: Integrated application insights instrumentation key into bicep files
1 parent e4f519f commit ed2f646

File tree

2 files changed

+465
-0
lines changed

2 files changed

+465
-0
lines changed

deploy/macae-continer.bicep

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ resource containerApp 'Microsoft.App/containerApps@2024-03-01' = {
279279
name: 'FRONTEND_SITE_NAME'
280280
value: 'https://${format(uniqueNameFormat, 'frontend')}.azurewebsites.net'
281281
}
282+
{
283+
name: 'APPLICATIONINSIGHTS_INSTRUMENTATION_KEY'
284+
value: appInsights.properties.ConnectionString
285+
}
282286
]
283287
}
284288
]

0 commit comments

Comments
 (0)