package com.dianping.cat.report.page.model.heartbeat;

import com.dianping.cat.consumer.heartbeat.model.entity.HeartbeatReport;
import com.dianping.cat.consumer.heartbeat.model.transform.DefaultMerger;

public class HeartbeatReportMerger extends DefaultMerger {
	public HeartbeatReportMerger(HeartbeatReport heartbeatReport) {
	   super(heartbeatReport);
   }

	
	@Override
   public void visitHeartbeatReport(HeartbeatReport heartbeatReport) {
	   super.visitHeartbeatReport(heartbeatReport);
	   
	   getHeartbeatReport().getDomainNames().addAll(heartbeatReport.getDomainNames());
   }
}

@@ -576,15 +576,83 @@
 mes());%0A
+%09   getHeartbeatReport().getIps().addAll(heartbeatReport.getIps());%0A
    %7D%0A%7D%0A

modify the heartbeat