fix(api): load metrics reporting module
i don't know why this fixes it, but it does somehow
This commit is contained in:
parent
1960fa9dfd
commit
770907f232
@ -16,7 +16,7 @@ public class MetricsModule: Module
|
||||
protected override void Load(ContainerBuilder builder)
|
||||
{
|
||||
builder.Register(c => InitMetrics(c.Resolve<CoreConfig>()))
|
||||
.AsSelf().As<IMetrics>().SingleInstance();
|
||||
.AsSelf().As<IMetrics>().SingleInstance().AutoActivate();
|
||||
}
|
||||
|
||||
private IMetricsRoot InitMetrics(CoreConfig config)
|
||||
|
Loading…
Reference in New Issue
Block a user