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

This commit is contained in:
spiral 2022-03-23 14:41:55 -04:00
parent 97c14b20b0
commit 38a3683fca
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
3 changed files with 1 additions and 4 deletions

View file

@ -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");
}
}