Use a more convenient query
This saves us having to find the exact instance; rather we
use a join on pg_replication_is_replica
to get the statement
metrics for the primary
Edited by Thong Kuah
This saves us having to find the exact instance; rather we
use a join on pg_replication_is_replica
to get the statement
metrics for the primary