public OrganizationSnapshotJob(ExceptionlessElasticConfiguration configuration, ILockProvider lockProvider, ILoggerFactory loggerFactory) : base(configuration.Client, lockProvider, loggerFactory) { _configuration = configuration; Repository = configuration.Options.ScopePrefix + "organizations"; foreach (var index in configuration.Indexes) { if (index == configuration.Events || index == configuration.Stacks) { continue; } IncludedIndexes.Add(index.Name + "*"); } }
public EventSnapshotJob(ExceptionlessElasticConfiguration configuration, ILockProvider lockProvider, ILoggerFactory loggerFactory) : base(configuration.Client, lockProvider, loggerFactory) { _configuration = configuration; Repository = configuration.Options.ScopePrefix + "events"; IncludedIndexes.Add(configuration.Events.Name + "*"); }
public StackSnapshotJob(ExceptionlessElasticConfiguration configuration, ILockProvider lockProvider, ILoggerFactory loggerFactory) : base(configuration.Client, lockProvider, loggerFactory) { _configuration = configuration; Repository = configuration.Options.ScopePrefix + "ex_stacks"; IncludedIndexes.Add("stacks*"); }
public OrganizationSnapshotJob(ExceptionlessElasticConfiguration configuration, ILockProvider lockProvider, ILoggerFactory loggerFactory) : base(configuration.Client, lockProvider, loggerFactory) { Repository = Settings.Current.AppScopePrefix + "ex_organizations"; IncludedIndexes.Add("organizations*"); }