1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00

chore: gather metrics every hour (#9163)

This commit is contained in:
Mateusz Kwasniewski 2025-01-29 10:01:38 +01:00 committed by GitHub
parent d0fa929847
commit 05e608ab09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1118,7 +1118,7 @@ export default class MetricsMonitor {
await schedulerService.schedule( await schedulerService.schedule(
async () => async () =>
Promise.all([collectStaticCounters(), collectAggDbMetrics()]), Promise.all([collectStaticCounters(), collectAggDbMetrics()]),
hoursToMilliseconds(2), hoursToMilliseconds(1),
'collectStaticCounters', 'collectStaticCounters',
); );
await schedulerService.schedule( await schedulerService.schedule(