mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: actually report metrics to influxdb in scheduled tasks runner
This commit is contained in:
parent
26ef81e47a
commit
98026dfc7d
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue