Skip to content

Commit

Permalink
chore: generalized query for slack notifier (#1125)
Browse files Browse the repository at this point in the history
A more generalized query to filter out more noise from APIM (while we
try to fix the root cause)
  • Loading branch information
knuhau authored Sep 16, 2024
1 parent 711fa6d commit ca39923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure/modules/functionApp/slackNotifier.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ca39923

Please sign in to comment.