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 + "*");
 }
示例#3
0
 public StackSnapshotJob(ExceptionlessElasticConfiguration configuration, ILockProvider lockProvider, ILoggerFactory loggerFactory) : base(configuration.Client, lockProvider, loggerFactory)
 {
     _configuration = configuration;
     Repository     = configuration.Options.ScopePrefix + "ex_stacks";
     IncludedIndexes.Add("stacks*");
 }
示例#4
0
 public OrganizationSnapshotJob(ExceptionlessElasticConfiguration configuration, ILockProvider lockProvider, ILoggerFactory loggerFactory) : base(configuration.Client, lockProvider, loggerFactory)
 {
     Repository = Settings.Current.AppScopePrefix + "ex_organizations";
     IncludedIndexes.Add("organizations*");
 }