fix: actually report metrics to influxdb in scheduled tasks runner
This commit is contained in:
parent
26ef81e47a
commit
98026dfc7d
@ -96,6 +96,9 @@ 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");
|
||||
}
|
||||
|
||||
private async Task CleanupOldMessages()
|
||||
|
Loading…
Reference in New Issue
Block a user