Skip to content

prom-client Async collect function is not released yet #42

@todo

Description

@todo

API/src/prom.module.ts

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());


This issue was generated by todo based on a TODO comment in e702a08. It's been assigned to @niekcandaele because they committed the code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions