Skip to content

Commit b7665b0

Browse files
committed
PMM-14220 - parsing error
- pg_custom_replication_wal can be removed because at the end we did not use it in any dashboards.
1 parent 43bdc34 commit b7665b0

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

queries-hr.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,6 @@ pg_custom_database_size_custom:
8383
usage: "GAUGE"
8484
description: "Disk space used by the database"
8585

86-
pg_custom_replication_wal:
87-
query: |
88-
SELECT
89-
pg_last_wal_receive_lsn() AS received_lsn,
90-
pg_last_wal_replay_lsn() AS replayed_lsn,
91-
pg_current_wal_lsn() AS current_lsn,
92-
pg_current_wal_lsn() - pg_last_wal_replay_lsn() AS lag_bytes;
93-
metrics:
94-
- received_lsn:
95-
usage: "GAUGE"
96-
description: "Last WAL location received by the standby server."
97-
- replayed_lsn:
98-
usage: "GAUGE"
99-
description: "Last WAL location replayed by the standby server."
100-
- current_lsn:
101-
usage: "GAUGE"
102-
description: "Current WAL location on the primary server."
103-
- lag_bytes:
104-
usage: "GAUGE"
105-
description: "Current WAL replication lag in bytes."
10686

10787
pg_custom_stat_replication:
10888
query: |

0 commit comments

Comments
 (0)