## ###################################################### ## WARNING: This is an example. Do not edit this file. ## To create your own Custom Queries - create a new file ## ###################################################### ## Custom query example. #pg_replication: # query: "SELECT EXTRACT(EPOCH FROM (now() - pg_last_xact_replay_timestamp())) as lag" # metrics: # - lag: # usage: "GAUGE" # description: "Replication lag behind master in seconds"