diff --git a/.azure/modules/functionApp/slackNotifier.bicep b/.azure/modules/functionApp/slackNotifier.bicep index f82d25119..7ada6f9a3 100644 --- a/.azure/modules/functionApp/slackNotifier.bicep +++ b/.azure/modules/functionApp/slackNotifier.bicep @@ -158,7 +158,7 @@ resource notifyDevTeam 'Microsoft.Insights/actionGroups@2023-01-01' = { var query = ''' union (exceptions - | where problemId != "ClientConnectionFailure at forward-request" and problemId != "ClientConnectionFailure at transfer-response"), + | where not(type == "ClientConnectionFailure" and customDimensions["Service ID"] == "altinn-dev-api")), (traces | where severityLevel >= 3 or (severityLevel >= 2 and customDimensions.SourceContext startswith "Digdir")) | summarize Count = count()