Skip to content

Commit c0de6e2

Browse files
authored
feat(observability): add alerts baseline and correlation-aware OTel logging (closes #311) (#373)
1 parent 06f5420 commit c0de6e2

File tree

21 files changed

+227172
-38
lines changed

21 files changed

+227172
-38
lines changed

.infra/azd/main.bicep

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ param agcSubnetAddressPrefix string = '10.0.12.0/24'
2020
@secure()
2121
@description('Optional PostgreSQL admin password for CRUD database. Leave empty to auto-generate.')
2222
param postgresAdminPassword string = ''
23+
@description('Optional email receiver for infrastructure alerts action group.')
24+
param alertNotificationEmail string = ''
25+
@secure()
26+
@description('Optional Microsoft Teams incoming webhook URL for infrastructure alerts action group.')
27+
param alertTeamsWebhookUrl string = ''
2328
param resourceGroupName string = '${projectName}-${environment}-rg'
2429

2530
@description('Optional override for the Static Web App base name. Defaults to projectName-ui.')
@@ -43,6 +48,8 @@ module sharedInfra '../modules/shared-infrastructure/shared-infrastructure-main.
4348
agcSupportEnabled: agcSupportEnabled
4449
agcSubnetAddressPrefix: agcSubnetAddressPrefix
4550
postgresAdminPassword: postgresAdminPassword
51+
alertNotificationEmail: alertNotificationEmail
52+
alertTeamsWebhookUrl: alertTeamsWebhookUrl
4653
resourceGroupName: resourceGroupName
4754
}
4855
}
@@ -102,3 +109,5 @@ output AGC_FRONTEND_HOSTNAME string = deployShared ? sharedInfra!.outputs.agcFro
102109
output AGC_FRONTEND_REFERENCE string = deployShared ? sharedInfra!.outputs.agcFrontendReference : ''
103110
output AKS_OIDC_ISSUER_URL string = deployShared ? sharedInfra!.outputs.aksOidcIssuerUrl : ''
104111
output AKS_NODE_RESOURCE_GROUP string = deployShared ? sharedInfra!.outputs.aksNodeResourceGroup : ''
112+
output MONITORING_ACTION_GROUP_ID string = deployShared ? sharedInfra!.outputs.monitoringActionGroupId : ''
113+
output MONITORING_ACTION_GROUP_NAME string = deployShared ? sharedInfra!.outputs.monitoringActionGroupName : ''

0 commit comments

Comments
 (0)