mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
Add comment
This commit is contained in:
parent
e97f74891f
commit
add3beda05
@ -59,6 +59,10 @@ export const scheduleServices = async (
|
||||
'updateLastSeen',
|
||||
);
|
||||
|
||||
// TODO this works fine for keeping labeledAppCounts up to date, but
|
||||
// it would be nice if we can keep client_apps_total prometheus metric
|
||||
// up to date. We'd need to have access to DbMetricsMonitor, which is
|
||||
// where the metric is registered and call an update only for that metric
|
||||
schedulerService.schedule(
|
||||
instanceStatsService.getLabeledAppCounts.bind(instanceStatsService),
|
||||
minutesToMilliseconds(5),
|
||||
|
Loading…
Reference in New Issue
Block a user