From b7665b078513c32f654187bd8b89c296045f788a Mon Sep 17 00:00:00 2001 From: theTibi Date: Fri, 22 Aug 2025 11:35:35 +0200 Subject: [PATCH] PMM-14220 - parsing error - pg_custom_replication_wal can be removed because at the end we did not use it in any dashboards. --- queries-hr.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/queries-hr.yml b/queries-hr.yml index eba836b78..59edc860e 100644 --- a/queries-hr.yml +++ b/queries-hr.yml @@ -83,26 +83,6 @@ pg_custom_database_size_custom: usage: "GAUGE" description: "Disk space used by the database" -pg_custom_replication_wal: - query: | - SELECT - pg_last_wal_receive_lsn() AS received_lsn, - pg_last_wal_replay_lsn() AS replayed_lsn, - pg_current_wal_lsn() AS current_lsn, - pg_current_wal_lsn() - pg_last_wal_replay_lsn() AS lag_bytes; - metrics: - - received_lsn: - usage: "GAUGE" - description: "Last WAL location received by the standby server." - - replayed_lsn: - usage: "GAUGE" - description: "Last WAL location replayed by the standby server." - - current_lsn: - usage: "GAUGE" - description: "Current WAL location on the primary server." - - lag_bytes: - usage: "GAUGE" - description: "Current WAL replication lag in bytes." pg_custom_stat_replication: query: |