collect

suspend fun collect(): List<Collector>

Asynchronously collects all registered Collectors.

Useful for use in exposition endpoints (e.g., /metrics).

Return

A list of currently registered Collectors.