-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Lines 51 to 56 in e702a08
| // TODO: prom-client Async collect function is not released yet | |
| // https://github.com/siimon/prom-client/issues/383 | |
| // Once this is released, we should refactor this to module | |
| for (const entityGauge of entityGauges) { | |
| const entity = entities.find((_) => _.name === entityGauge[1]); | |
| entityGauge[0].set(await entity.count()); |