No need to truncate replication lag to integers
This commit is contained in:
parent
84a575f29f
commit
486345d8fd
|
@ -1,5 +1,5 @@
|
|||
pg_replication:
|
||||
query: "SELECT EXTRACT(EPOCH FROM (now() - pg_last_xact_replay_timestamp()))::INT as lag"
|
||||
query: "SELECT EXTRACT(EPOCH FROM (now() - pg_last_xact_replay_timestamp())) as lag"
|
||||
metrics:
|
||||
- lag:
|
||||
usage: "GAUGE"
|
||||
|
|
Loading…
Reference in New Issue