vlabel => 'Seconds',
basequery => "SELECT (extract(epoch FROM now()) - extract(epoch FROM pg_last_xact_replay_timestamp()))::int AS delay",
pivotquery => 1,
- configquery =>
- "VALUES ('delay','Replication delay')"
+ configquery => "VALUES ('delay','Replication delay')",
+ extraconfig => "delay.warning 300\ndelay.critical 3600"
);
$pg->Process();