Skip to content

Commit

Permalink
Add needed env var for app insights
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox committed Oct 25, 2024
1 parent 0946893 commit f9c6ebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/core/host/appservice.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = {
{
SCM_DO_BUILD_DURING_DEPLOYMENT: string(scmDoBuildDuringDeployment)
ENABLE_ORYX_BUILD: string(enableOryxBuild)
ApplicationInsightsAgent_EXTENSION_VERSION: '~2'
},
runtimeName == 'python' ? { PYTHON_ENABLE_GUNICORN_MULTIWORKERS: 'true' } : {},
!empty(applicationInsightsName) ? { APPLICATIONINSIGHTS_CONNECTION_STRING: applicationInsights.properties.ConnectionString } : {},
Expand Down

0 comments on commit f9c6ebb

Please sign in to comment.