Skip to content

Commit 5324eaa

Browse files
author
Muhammad Shahzeb
committed
Delete duplicate alert
1 parent 2d554de commit 5324eaa

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

postgres_mixin/alerts/postgres.libsonnet

-22
Original file line numberDiff line numberDiff line change
@@ -234,28 +234,6 @@
234234
severity: 'critical',
235235
},
236236
},
237-
{
238-
alert: 'PostgresTablesNotVaccumed',
239-
annotations: {
240-
description: '{{ $labels.instance }} tables have not been vacuumed recently, which may lead to performance degradation.',
241-
summary: 'PostgreSQL tables not vacuumed.',
242-
},
243-
expr: |||
244-
group without(pod, instance)(
245-
timestamp(
246-
pg_stat_user_tables_n_dead_tup{} >
247-
pg_stat_user_tables_n_live_tup{}
248-
* on(namespace, job, service, instance, server) group_left pg_settings_autovacuum_vacuum_scale_factor{}
249-
+ on(namespace, job, service, instance, server) group_left pg_settings_autovacuum_vacuum_threshold{}
250-
)
251-
< time() - 36000
252-
)
253-
|||,
254-
'for': '30m',
255-
labels: {
256-
severity: 'critical',
257-
},
258-
},
259237
{
260238
alert: 'PostgresTooManyCheckpointsRequested',
261239
annotations: {

0 commit comments

Comments
 (0)