refactor: run InfluxDB reporter through AppMetrics instead of per-minute task
This commit is contained in:
@@ -97,7 +97,6 @@ public class TaskHandler
|
||||
// Other shiz
|
||||
_metrics.Measure.Gauge.SetValue(Metrics.WebhookCacheSize, stats.Sum(x => x.WebhookCacheSize));
|
||||
|
||||
await Task.WhenAll(((IMetricsRoot)_metrics).ReportRunner.RunAllAsync());
|
||||
_logger.Debug("Submitted metrics to backend");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user