Skip to content

Commit c9dd350

Browse files
committed
fix lint
1 parent c511b7b commit c9dd350

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

csp-mixin/alerts/gcp-alerts.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ groups:
2828
namespace: cloud-provider-gcp
2929
annotations:
3030
summary: 'IO latency is too high.'
31-
description: 'Check for I/O bottlenecks and upgrade to SSD if necessary.'
31+
description: 'Check {{ $labels.instance_id }} VM for I/O bottlenecks and upgrade to SSD if necessary.'
3232
dashboard_uid: 'f115fe73641347c43415535d77e2dc0f'
3333

3434
- name: gcp
@@ -44,7 +44,7 @@ groups:
4444
namespace: cloud-provider-gcp
4545
annotations:
4646
summary: 'CPU utilization is too high.'
47-
description: 'Check for high CPU queries and optimize them, or scale up the instance if sustained high usage.'
47+
description: 'Check {{ $labels.database_id }} database for high CPU queries and optimize them, or scale up the instance if sustained high usage.'
4848
dashboard_uid: 'cc710d49022fdd69bed0e992891863e9'
4949

5050
- name: gcp
@@ -60,7 +60,7 @@ groups:
6060
namespace: cloud-provider-gcp
6161
annotations:
6262
summary: 'Memory utilization is too high.'
63-
description: 'Review high-memory queries or add more memory to the instance.'
63+
description: 'Review high-memory queries or add more memory to the {{ $labels.database_id }} instance.'
6464
dashboard_uid: 'cc710d49022fdd69bed0e992891863e9'
6565

6666
- name: gcp
@@ -76,7 +76,7 @@ groups:
7676
namespace: cloud-provider-gcp
7777
annotations:
7878
summary: 'Disk utilization is too high.'
79-
description: 'Delete or archive unused data, or increase disk size.'
79+
description: 'Delete or archive unused data, or increase disk size to the {{ $labels.database_id }} database.'
8080
dashboard_uid: 'cc710d49022fdd69bed0e992891863e9'
8181

8282
- name: gcp
@@ -92,7 +92,7 @@ groups:
9292
namespace: cloud-provider-gcp
9393
annotations:
9494
summary: 'Too many active connections.'
95-
description: 'Investigate connection pooling settings and connection management in your application.'
95+
description: 'Investigate connection pooling settings and connection management in your {{ $labels.database_id }} application database.'
9696
dashboard_uid: 'cc710d49022fdd69bed0e992891863e9'
9797

9898
- name: gcp
@@ -107,8 +107,8 @@ groups:
107107
service: 'Cloud SQL'
108108
namespace: cloud-provider-gcp
109109
annotations:
110-
summary: 'More than 5 failed connections in 5 minutes'
111-
description: 'Verify credentials and network settings; check for firewall rules blocking connections.'
110+
summary: 'More than 5 failed connections in 5 minutes.'
111+
description: 'Verify credentials and network settings; check for firewall rules blocking connections for the {{ $labels.database_id }} database.'
112112
dashboard_uid: 'cc710d49022fdd69bed0e992891863e9'
113113

114114
- name: gcp
@@ -124,7 +124,7 @@ groups:
124124
namespace: cloud-provider-gcp
125125
annotations:
126126
summary: 'More than 5 seconds lag between read replica and primary.'
127-
description: 'Check network latency between primary and replica; adjust configurations to optimize replication.'
127+
description: 'Check {{ $labels.database_id }} database for network latency between primary and replica; adjust configurations to optimize replication.'
128128
dashboard_uid: 'cc710d49022fdd69bed0e992891863e9'
129129

130130
- name: gcp
@@ -140,7 +140,7 @@ groups:
140140
namespace: cloud-provider-gcp
141141
annotations:
142142
summary: 'More than 1000 messages.'
143-
description: 'Scale up subscribers or adjust message processing capacity.'
143+
description: 'Scale up subscribers or adjust message processing capacity for the {{ $labels.instance }} instance.'
144144
dashboard_uid: '2abad1eb5e4873b95e9176e7ef10a30c'
145145

146146
- name: gcp
@@ -156,5 +156,5 @@ groups:
156156
namespace: cloud-provider-gcp
157157
annotations:
158158
summary: 'Unacknowledged messages for more than 60 seconds.'
159-
description: 'Investigate and speed up message processing; ensure consumers can handle the load.'
159+
description: 'Investigate {{ $labels.instance }} instance and speed up message processing; ensure consumers can handle the load.'
160160
dashboard_uid: '2abad1eb5e4873b95e9176e7ef10a30c'

0 commit comments

Comments
 (0)