Track db_prepare_master and db_prepare_slave metrics