No need to truncate replication lag to integers

This commit is contained in:
Rick van Hattem 2019-04-23 23:01:03 +02:00 committed by Will Rouesnel
parent 84a575f29f
commit 486345d8fd
1 changed files with 1 additions and 1 deletions

View File

@ -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"