Kirill Ilin
f38012cc7a
fix(postgres-operator): alert when a CNPG cluster is offline, not an instance
...
CNPGClusterOffline grouped cnpg_collector_up by pod, so it fired as soon as
any single instance stopped reporting up: a replica replaying WAL while the
primary kept serving paged as an offline cluster. With no cnpg_collector_up
series at all, the OR on() vector(0) fallback evaluated to a label-less 0 and
the alert fired for good on clusters that run no CNPG database.
Group per CNPG cluster instead, derived from the instance pod name
(<cluster>-<N>): a cluster label cannot be relied on, as an external label of
the same name on the scraper overwrites it. The fallback goes; the alert
names the cluster instead of a pod.
Assisted-By: LLM
Signed-off-by: Kirill Ilin <stitch14@yandex.ru >
2026-09-30 14:06:26 +05:00
..
2026-09-23 00:05:35 +03:00
2026-09-26 15:05:06 +03:00
2026-09-29 18:10:56 +03:00
2026-09-28 21:32:36 +03:00
2026-09-25 16:26:13 +02:00
2026-09-27 07:57:31 +03:00
2026-09-24 17:23:18 +03:00
2026-09-25 16:23:45 +02:00
2026-09-25 16:23:45 +02:00
2026-07-20 00:20:06 +03:00
2026-08-07 14:36:06 +03:00
2026-09-07 02:23:47 +03:00
2026-09-24 16:55:04 +03:00
2026-08-12 15:28:37 +03:00
2026-08-24 23:41:27 +03:00
2026-08-25 16:39:19 +03:00
2026-09-28 21:41:31 +03:00
2026-09-28 20:56:43 +03:00
2026-09-18 13:12:56 +03:00
2026-09-29 17:10:55 +02:00
2026-09-28 21:41:32 +03:00
2026-09-26 15:05:06 +03:00
2026-09-23 21:22:43 +04:00
2026-09-23 21:22:43 +04:00
2026-09-01 12:47:46 +03:00
2026-07-03 19:14:15 +03:00
2026-07-20 04:49:57 +03:00
2026-09-26 15:05:06 +03:00
2026-09-26 15:05:06 +03:00
2026-09-07 17:03:44 +02:00
2026-09-07 17:03:44 +02:00
2026-09-26 20:30:50 +03:00
2026-09-03 22:17:04 +03:00
2026-07-03 19:14:27 +03:00
2026-09-29 17:09:13 +02:00
2026-09-24 16:55:04 +03:00
2026-09-28 19:49:55 +03:00
2026-09-08 22:45:33 +02:00
2026-09-29 10:50:55 +05:00
2026-09-28 21:41:31 +03:00
2026-09-23 10:59:51 +03:00
2026-09-26 15:05:06 +03:00
2026-09-27 07:57:31 +03:00
2026-09-28 21:41:32 +03:00
2026-09-29 17:10:10 +02:00
2026-09-28 00:57:24 +03:00
2026-09-24 17:23:18 +03:00
2026-09-26 15:05:06 +03:00
2026-09-26 15:05:06 +03:00
2026-09-26 15:05:06 +03:00
2026-09-29 21:04:05 +02:00
2026-09-29 21:04:05 +02:00
2026-09-23 15:35:44 +03:00
2026-09-27 07:57:31 +03:00
2026-09-24 15:05:11 +03:00
2026-09-23 20:07:06 +04:00
2026-09-22 23:45:58 +03:00
2026-08-21 15:51:53 +03:00
2026-07-06 09:49:50 +05:00
2026-09-07 01:23:29 +03:00
2026-09-28 20:56:43 +03:00
2026-09-29 18:21:34 +03:00
2026-09-21 12:15:10 +03:00
2026-07-16 16:57:41 +03:00
2026-09-28 17:41:20 +05:30
2026-09-24 18:10:57 +03:00
2026-09-26 14:32:44 +03:00
2026-07-20 05:24:04 +03:00
2026-09-29 14:41:04 +03:00
2026-09-29 10:14:44 +04:00
2026-09-28 18:32:49 +03:00
2026-09-29 17:10:54 +02:00
2026-09-25 13:35:34 +03:00
2026-09-24 17:23:18 +03:00
2026-08-12 18:42:13 +03:00
2026-09-24 17:23:18 +03:00
2026-09-26 15:05:06 +03:00
2026-09-11 01:23:13 +03:00
2026-08-12 15:28:37 +03:00
2026-09-30 14:06:26 +05:00
2026-09-29 17:02:44 +02:00
2026-08-07 14:37:46 +03:00
2026-09-29 21:04:05 +02:00
2026-08-09 21:06:46 +03:00
2026-09-29 17:08:17 +02:00
2026-09-22 17:47:55 +04:00
2026-09-26 15:05:06 +03:00
2026-09-02 17:58:06 +03:00
2026-07-28 12:16:57 +03:00
2026-09-26 14:56:07 +03:00
2026-09-17 00:54:48 +03:00
2026-09-26 15:05:06 +03:00
2026-09-24 16:55:04 +03:00
2026-09-23 11:18:19 +04:00
2026-09-28 15:52:46 +03:00
2026-09-01 11:43:10 +04:00
2026-09-28 21:56:58 +03:00
2026-07-22 20:57:45 +03:00
2026-08-07 14:37:46 +03:00
2026-09-29 18:47:18 +03:00
2026-06-25 12:56:49 +05:00
2026-09-07 16:27:24 +05:00
2026-09-26 11:40:08 +03:00
2026-08-07 14:37:46 +03:00
2026-08-03 14:08:36 +03:00