This document discusses monitoring MySQL replication delay using mysqld_exporter and pt-heartbeat. It describes how pt-heartbeat works to track replication lag by storing timestamps in MySQL. It then details how the author contributed code to mysqld_exporter to integrate this functionality, including relevant configuration options, metrics, and example alerts. The talk encourages contributions to further improve open source monitoring tools.