public OrganizationIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "organizations", 1) { _configuration = configuration; AddType(Organization = new OrganizationIndexType(this)); AddType(Project = new ProjectIndexType(this)); AddType(Token = new TokenIndexType(this)); AddType(User = new UserIndexType(this)); AddType(WebHook = new WebHookIndexType(this)); }
public EventIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "events", 1) { _configuration = configuration; MaxIndexAge = TimeSpan.FromDays(180); AddType(Event = new EventIndexType(this)); AddAlias($"{Name}-today", TimeSpan.FromDays(1)); AddAlias($"{Name}-last3days", TimeSpan.FromDays(7)); AddAlias($"{Name}-last7days", TimeSpan.FromDays(7)); AddAlias($"{Name}-last30days", TimeSpan.FromDays(30)); AddAlias($"{Name}-last90days", TimeSpan.FromDays(90)); }
public EventIndex(ExceptionlessElasticConfiguration configuration, AppOptions appOptions) : base(configuration, configuration.Options.ScopePrefix + "events", 1, doc => ((PersistentEvent)doc).Date.UtcDateTime) { _configuration = configuration; if (appOptions.MaximumRetentionDays > 0) { MaxIndexAge = TimeSpan.FromDays(appOptions.MaximumRetentionDays); } AddAlias($"{Name}-today", TimeSpan.FromDays(1)); AddAlias($"{Name}-last3days", TimeSpan.FromDays(7)); AddAlias($"{Name}-last7days", TimeSpan.FromDays(7)); AddAlias($"{Name}-last30days", TimeSpan.FromDays(30)); AddAlias($"{Name}-last90days", TimeSpan.FromDays(90)); }
public StackIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "stacks", 1) { _configuration = configuration; }
public TokenIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "tokens", 1) { _configuration = configuration; }
public OrganizationIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "organizations", 1) { _configuration = configuration; }
public UserIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "users", 1) { _configuration = configuration; }
public StackIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Settings.AppScopePrefix + "stacks", 1) { _settings = configuration.Settings; AddType(Stack = new StackIndexType(this)); }
public WebHookIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "webhooks", 1) { _configuration = configuration; }
public StackIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "stacks", 1) { _configuration = configuration; AddType(Stack = new StackIndexType(this)); }
public ProjectIndex(ExceptionlessElasticConfiguration configuration) : base(configuration, configuration.Options.ScopePrefix + "projects", 1) { _configuration = configuration; }