Set<MetricEvent> (@NotNull Project project) { return ContainerUtil.map2Set( TaskManager.getManager(project).getAllRepositories(), repository -> CONFIGURED_REPOSITORY.metric(repository.getRepositoryType().getClass()) ); }