feat: aggregate cluster statistics and send to influx with scheduled tasks worker
This commit is contained in:
@@ -19,6 +19,11 @@ internal class Startup
|
||||
await BuildInfoService.LoadVersion();
|
||||
|
||||
var services = BuildContainer(config);
|
||||
|
||||
var cfg = services.Resolve<CoreConfig>();
|
||||
if (cfg.UseRedisMetrics)
|
||||
await services.Resolve<RedisService>().InitAsync(cfg);
|
||||
|
||||
services.Resolve<TaskHandler>().Run();
|
||||
|
||||
await Task.Delay(-1);
|
||||
|
||||
Reference in New Issue
Block a user