Skip to content

Commit f069d64

Browse files
author
Muhammad Shahzeb
committed
Fixes
1 parent ad43a8b commit f069d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres_mixin/alerts/postgres.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
alert: 'PostgreSQLMaxConnectionsReached',
99
annotations: {
10-
description: '{{ $labels.instance }} is exceeding the currently configured maximum Postgres connection limit (current value: {{ $value }}s). Services may be degraded - please take immediate action (you probably need to increase max_connections in the Docker image and re-deploy.',
10+
description: '{{ $labels.instance }} is exceeding the currently configured maximum Postgres connection limit (current value: {{ $value }}s). Services may be degraded - please take immediate action (you probably need to increase max_connections in the Docker image and re-deploy).',
1111
summary: 'Postgres connections count is over the maximum amount.',
1212
},
1313
expr: |||
@@ -172,7 +172,7 @@
172172
summary: 'PostgreSQL replication lagging more than 1 hour.',
173173
},
174174
expr: |||
175-
(pg_replication_lag{} > 3600) and on (%(agg)s) (pg_replication_is_replica{} == 1)'
175+
(pg_replication_lag{} > 3600) and on (%(agg)s) (pg_replication_is_replica{} == 1)
176176
||| % $._config { agg: std.join(',', $._config.groupLabels + $._config.instanceLabels) },
177177
'for': '5m',
178178
labels: {

0 commit comments

Comments
 (0)