Skip to content

Commit f9c6ebb

Browse files
committed
Add needed env var for app insights
1 parent 0946893 commit f9c6ebb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infra/core/host/appservice.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = {
102102
{
103103
SCM_DO_BUILD_DURING_DEPLOYMENT: string(scmDoBuildDuringDeployment)
104104
ENABLE_ORYX_BUILD: string(enableOryxBuild)
105+
ApplicationInsightsAgent_EXTENSION_VERSION: '~2'
105106
},
106107
runtimeName == 'python' ? { PYTHON_ENABLE_GUNICORN_MULTIWORKERS: 'true' } : {},
107108
!empty(applicationInsightsName) ? { APPLICATIONINSIGHTS_CONNECTION_STRING: applicationInsights.properties.ConnectionString } : {},

0 commit comments

Comments
 (0)