private void registerMetrics(Map<Tags, Long> aggregatedCounts) {
		eurekaInstances.register(aggregatedCounts.entrySet()
			.stream()
			.map(entry -> MultiGauge.Row.of(entry.getKey(), entry.getValue()))
			.collect(Collectors.toList()), true);
	}
{@link SmartApplicationListener} for collecting event metrics from
{@link PeerAwareInstanceRegistry}.

@author Wonchul Heo
@author Olga Maciaszek-Sharma
@since 4.1.2
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/metrics/EurekaInstanceMonitor.java