We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed07f8d commit a780a46Copy full SHA for a780a46
queries.yaml
@@ -0,0 +1,6 @@
1
+pg_replication:
2
+ query: 'SELECT EXTRACT(EPOCH FROM (now() - pg_last_xact_replay_timestamp()))::INT as lag'
3
+ metrics:
4
+ - lag:
5
+ usage: 'GAUGE'
6
+ description: 'Replication lag behind master in seconds'
0 commit comments