How to check the PostgreSQL Replication Lag in PMM?

for the reference: Pmm-client PG replication lag and patroni metrics - #7 by Roma_Novikov