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:
parent
d0fa929847
commit
05e608ab09
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user