@hiiretail/gcp-infra-cli 0.102.1 → 0.102.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -166,9 +166,9 @@ cloud_sql:
|
|
|
166
166
|
subject: 'Database: `$${resource.label.database_id}`'
|
|
167
167
|
memorystore:
|
|
168
168
|
memory_over_50:
|
|
169
|
-
display_name: "[
|
|
169
|
+
display_name: "[P3] <%-clan%> - Memorystore | Memory over 50%"
|
|
170
170
|
conditions:
|
|
171
|
-
- display_name: Memorystore Redis Instance - Memory Usage above 50%
|
|
171
|
+
- display_name: Memorystore Redis Instance - Memory Usage above 50% for more than 5 minutes
|
|
172
172
|
condition_threshold:
|
|
173
173
|
filter: |
|
|
174
174
|
resource.type="redis_instance"
|
|
@@ -178,15 +178,16 @@ memorystore:
|
|
|
178
178
|
duration: 300s
|
|
179
179
|
aggregations:
|
|
180
180
|
- alignment_period: 60s
|
|
181
|
-
per_series_aligner:
|
|
181
|
+
per_series_aligner: ALIGN_MEAN
|
|
182
|
+
cross_series_reducer: REDUCE_MAX
|
|
182
183
|
group_by_fields:
|
|
183
184
|
- resource.label.instance_id
|
|
184
185
|
documentation:
|
|
185
186
|
subject: 'Instance: `$${resource.label.instance_id}`'
|
|
186
187
|
memory_over_75:
|
|
187
|
-
display_name: "[
|
|
188
|
+
display_name: "[P3] <%-clan%> - Memorystore | Memory over 75%"
|
|
188
189
|
conditions:
|
|
189
|
-
- display_name: Memorystore Redis Instance - Memory Usage above 75% for
|
|
190
|
+
- display_name: Memorystore Redis Instance - Memory Usage above 75% for more than 5 minutes
|
|
190
191
|
condition_threshold:
|
|
191
192
|
filter: |
|
|
192
193
|
resource.type="redis_instance"
|
|
@@ -196,7 +197,8 @@ memorystore:
|
|
|
196
197
|
duration: 300s
|
|
197
198
|
aggregations:
|
|
198
199
|
- alignment_period: 60s
|
|
199
|
-
per_series_aligner:
|
|
200
|
+
per_series_aligner: ALIGN_MEAN
|
|
201
|
+
cross_series_reducer: REDUCE_MAX
|
|
200
202
|
group_by_fields:
|
|
201
203
|
- resource.label.instance_id
|
|
202
204
|
documentation:
|
|
@@ -204,17 +206,18 @@ memorystore:
|
|
|
204
206
|
memory_over_90:
|
|
205
207
|
display_name: "[P2] <%-clan%> - Memorystore | Memory over 90%"
|
|
206
208
|
conditions:
|
|
207
|
-
- display_name: Memorystore Redis Instance - Memory Usage above 90%
|
|
209
|
+
- display_name: Memorystore Redis Instance - Memory Usage above 90% for more than 5 minutes
|
|
208
210
|
condition_threshold:
|
|
209
211
|
filter: |
|
|
210
212
|
resource.type="redis_instance"
|
|
211
213
|
metric.type="redis.googleapis.com/stats/memory/usage_ratio"
|
|
212
214
|
resource.labels.project_id="<%-projectId%>"
|
|
213
215
|
threshold_value: 0.90
|
|
214
|
-
duration:
|
|
216
|
+
duration: 300s
|
|
215
217
|
aggregations:
|
|
216
218
|
- alignment_period: 60s
|
|
217
|
-
per_series_aligner:
|
|
219
|
+
per_series_aligner: ALIGN_MEAN
|
|
220
|
+
cross_series_reducer: REDUCE_MAX
|
|
218
221
|
group_by_fields:
|
|
219
222
|
- resource.label.instance_id
|
|
220
223
|
documentation:
|
|
@@ -228,11 +231,12 @@ memorystore:
|
|
|
228
231
|
resource.type="redis_instance"
|
|
229
232
|
metric.type="redis.googleapis.com/stats/cpu_utilization"
|
|
230
233
|
resource.labels.project_id="<%-projectId%>"
|
|
231
|
-
threshold_value: 0.
|
|
234
|
+
threshold_value: 0.75
|
|
232
235
|
duration: 300s
|
|
233
236
|
aggregations:
|
|
234
237
|
- alignment_period: 60s
|
|
235
|
-
per_series_aligner:
|
|
238
|
+
per_series_aligner: ALIGN_RATE
|
|
239
|
+
cross_series_reducer: REDUCE_SUM
|
|
236
240
|
group_by_fields:
|
|
237
241
|
- resource.label.instance_id
|
|
238
242
|
documentation:
|