Interface StatisticsEventsProducer

All Known Implementing Classes:
ActivePlansDeploymentsEventProducer, ArtifactHandlerEventProducer, AuthenticationEventProducer, BuildResourcesEventProducer, ChangeDetectionQueueEventProducer, ClusterEventProducer, ConcurrentAgentProcessesEventProducer, DatabaseConfigurationEventProducer, EmbeddedCrowdEventProducer, FeatureEventProducer, InstanceSizeEventProducer, JavaVersionsEventProducer, OsStatisticsEventProducer, PermissionStatsEventProducer, PlanBranchesConfigurationEventProducer, ProjectWithPlanPermissionsEventProducer, RemoteEventStatusEventProducer, RepositoriesWithWebhookEventProducer, RepositoryStatisticsEventProducer, SecurityPropertiesEventProducer, SystemNotificationsEventProducer, SystemPropertiesEventProducer, VerboseLoggingEventProducer

@Internal public interface StatisticsEventsProducer
Component responsible for gathering and building BaseDataEvent events for DataCollectionJob purposes. Analytic events must be enlisted in any whitelist. Used in scheduled daily job
  • Method Details

    • generateEvents

      @Nullable @Nullable Collection<BaseDataEvent> generateEvents()
      Returns:
      Analytic events with statistics.
    • resetStatistics

      default void resetStatistics()
      Reset statistics, but don't generate events. Use when statistics have to be cleared when publishing analytics is disabled