cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 033f5858a72ebff0fccd231f2ef6ea41d3adca45
parent 0dd32b7f28c9b4bd001ddffdb1089096b11fa88c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 16 Nov 2024 16:22:40 +0100

make pg exporter work in 17.1

Diffstat:
Mapps/base/postgres-exporter/release.yaml | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/apps/base/postgres-exporter/release.yaml b/apps/base/postgres-exporter/release.yaml @@ -33,12 +33,14 @@ spec: expr: pg_replication_lag{service="{{ template "prometheus-postgres-exporter.fullname" . }}"} / 3600 > 1 for: 1m labels: - severity: critical + severity: critical annotations: - description: replication for {{ template "prometheus-postgres-exporter.fullname" . }} PostgreSQL is lagging - by {{ "{{ $value }}" }} hour(s). - summary: PostgreSQL replication is lagging by {{ "{{ $value }}" }} hour(s). + description: + replication for {{ template "prometheus-postgres-exporter.fullname" . }} PostgreSQL is lagging + by {{ "{{ $value }}" }} hour(s). + summary: PostgreSQL replication is lagging by {{ "{{ $value }}" }} hour(s). config: + extraArgs: ["--no-collector.stat_bgwriter"] datasource: host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local user: postgres