Skip to content

Commit fab1be6

Browse files
committed
add database to summaries and alert name
1 parent 75e80e7 commit fab1be6

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

csp-mixin/alerts/azure-alerts.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ groups:
1111
service: 'Azure Virtual Machines'
1212
namespace: cloud-provider-azure
1313
annotations:
14-
summary: 'CPU utilization is too high.'
14+
summary: 'VM CPU utilization is too high.'
1515
description: 'The VM {{ $labels.resourceName }} is under heavy load and may become unresponsive.'
1616
dashboard_uid: '58f33c50e66c911b0ad8a25aa438a96e'
1717

@@ -29,7 +29,7 @@ groups:
2929
description: 'The VM {{ $labels.resourceName }} is not functioning or crashed, which may require immediate action.'
3030
dashboard_uid: '58f33c50e66c911b0ad8a25aa438a96e'
3131

32-
- alert: AzureHighDtuConsumption
32+
- alert: AzureDatabaseHighDtuConsumption
3333
expr: |
3434
avg by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_dtu_consumption_percent_average_percent{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 90
3535
for: 10m
@@ -39,11 +39,11 @@ groups:
3939
service: 'Azure SQL database'
4040
namespace: cloud-provider-azure
4141
annotations:
42-
summary: 'High DTU consumption.'
42+
summary: 'High database DTU consumption.'
4343
description: 'Check active queries and optimize indexes or consider scaling up DTUs to handle load in {{ $labels.resourceName }} database.'
4444
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
4545

46-
- alert: AzureHighStorageUsage
46+
- alert: AzureDatabaseHighStorageUsage
4747
expr: |
4848
avg by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_storage_percent_maximum_percent{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 85
4949
for: 10m
@@ -53,11 +53,11 @@ groups:
5353
service: 'Azure SQL database'
5454
namespace: cloud-provider-azure
5555
annotations:
56-
summary: 'High Storage usage.'
56+
summary: 'High database Storage usage.'
5757
description: 'Archive or delete old data, or scale up storage capacity in {{ $labels.resourceName }} database.'
5858
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
5959

60-
- alert: AzureHighDeadlockCount
60+
- alert: AzureDatabaseHighDeadlockCount
6161
expr: |
6262
sum by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_deadlock_total_count{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 5
6363
for: 10m
@@ -67,11 +67,11 @@ groups:
6767
service: 'Azure SQL database'
6868
namespace: cloud-provider-azure
6969
annotations:
70-
summary: 'High Deadlock count.'
70+
summary: 'High database Deadlock count.'
7171
description: 'Check {{ $labels.resourceName }} database logs for deadlock details and optimize affected queries.'
7272
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
7373

74-
- alert: AzureHighUserCpuUsage
74+
- alert: AzureDatabaseHighUserCpuUsage
7575
expr: |
7676
avg by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_cpu_percent_average_percent{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 80
7777
for: 10m
@@ -81,11 +81,11 @@ groups:
8181
service: 'Azure SQL database'
8282
namespace: cloud-provider-azure
8383
annotations:
84-
summary: 'High User CPU usage.'
84+
summary: 'High database User CPU usage.'
8585
description: 'Identify high CPU queries on {{ $labels.resourceName }} database and optimize them.'
8686
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
8787

88-
- alert: AzureHighSystemFailedConnections
88+
- alert: AzureDatabaseHighSystemFailedConnections
8989
expr: |
9090
sum by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_connection_failed_total_count{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 10
9191
for: 5m
@@ -95,11 +95,11 @@ groups:
9595
service: 'Azure SQL database'
9696
namespace: cloud-provider-azure
9797
annotations:
98-
summary: 'High number of System Failed connections.'
98+
summary: 'High number of database System Failed connections.'
9999
description: 'Check network problems, firewall restrictions or high resource consumption affecting application access to the database {{ $labels.resourceName }}.'
100100
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
101101

102-
- alert: AzureHighUserFailedConnections
102+
- alert: AzureDatabaseHighUserFailedConnections
103103
expr: |
104104
sum by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_connection_failed_user_error_total_count{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 10
105105
for: 5m
@@ -109,11 +109,11 @@ groups:
109109
service: 'Azure SQL database'
110110
namespace: cloud-provider-azure
111111
annotations:
112-
summary: 'High number of User Failed connections.'
112+
summary: 'High number of database User Failed connections.'
113113
description: 'Check for authentication problems, network configuration errors, firewall issues, or resource constraints, affecting database accessibility for users on database {{ $labels.resourceName }}.'
114114
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
115115

116-
- alert: AzureHighWorkerUsage
116+
- alert: AzureDatabaseHighWorkerUsage
117117
expr: |
118118
avg by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_workers_percent_average_percent{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 60
119119
for: 5m
@@ -123,11 +123,11 @@ groups:
123123
service: 'Azure SQL database'
124124
namespace: cloud-provider-azure
125125
annotations:
126-
summary: 'High worker usage.'
126+
summary: 'High database worker usage.'
127127
description: 'Look for long execution queries, review the number of concurrent queries and requests being sent to the database or check if there are any blocking sessions or deadlocks into the {{ $labels.resourceName }} database.'
128128
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
129129

130-
- alert: AzureHighDataIoUsage
130+
- alert: AzureDatabaseHighDataIoUsage
131131
expr: |
132132
avg by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_physical_data_read_percent_average_percent{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 90
133133
for: 15m
@@ -137,11 +137,11 @@ groups:
137137
service: 'Azure SQL database'
138138
namespace: cloud-provider-azure
139139
annotations:
140-
summary: 'High data IO usage.'
140+
summary: 'High database data IO usage.'
141141
description: 'Review queries with high read or write activity, check if there are missing indexes or inefficient indexes that result in full table scans and assess the volume of transactions into the {{ $labels.resourceName }} database.'
142142
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'
143143

144-
- alert: AzureLowTempdbLogSpace
144+
- alert: AzureDatabaseLowTempdbLogSpace
145145
expr: |
146146
avg by (job,resourceGroup,subscriptionName,resourceName) (azure_microsoft_sql_servers_databases_tempdb_log_used_percent_average_percent{job=~".+",resourceGroup=~".+",subscriptionName=~".+",resourceName=~".+"}) > 60
147147
for: 5m
@@ -151,6 +151,6 @@ groups:
151151
service: 'Azure SQL database'
152152
namespace: cloud-provider-azure
153153
annotations:
154-
summary: 'Low tempdb log space.'
154+
summary: 'Low database tempdb log space.'
155155
description: 'Look for active sessions that might be using TempDB intensively, identify stored procedures or queries that create temporary tables or objects, and also look for long-running or memory-intensive queries that rely heavily on TempDB into the {{ $labels.resourceName }} database.'
156156
dashboard_uid: '82c5b6cf30db5b601c5cc3f5d8d4284d'

0 commit comments

Comments
 (0)