Revert "refactor: run InfluxDB reporter through AppMetrics instead of per-minute task"

This reverts commit 38a3683fca.
This commit is contained in:
spiral
2022-03-23 19:28:51 -04:00
parent 38a3683fca
commit 0bad2e8ff9
3 changed files with 4 additions and 1 deletions

View File

@@ -238,5 +238,7 @@ 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");
}
}