@Override
	public boolean supportsEventType(Class<? extends ApplicationEvent> eventType) {
		// If events that change state are added, an event class must be added.
		return EurekaInstanceCanceledEvent.class.isAssignableFrom(eventType)
				|| EurekaInstanceRegisteredEvent.class.isAssignableFrom(eventType)
				|| EurekaInstanceRenewedEvent.class.isAssignableFrom(eventType);
	}
{@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