refactor: run InfluxDB reporter through AppMetrics instead of per-minute task
This commit is contained in:
@@ -238,7 +238,5 @@ public class Bot
|
||||
|
||||
// Collect some stats, submit them to the metrics backend
|
||||
await _collector.CollectStats();
|
||||
await Task.WhenAll(((IMetricsRoot)_metrics).ReportRunner.RunAllAsync());
|
||||
_logger.Debug("Submitted metrics to backend");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user