Reduce amount of annotation scanning in MetricsApplicationEventListener