jochen-schweizer / express-prom-bundle

express middleware with standard prometheus metrics in one bundle
MIT License
310 stars 68 forks source link

Prom bundle configuration should take registry as an option. #45

Closed aaronleesmith closed 4 years ago

aaronleesmith commented 5 years ago

Currently, this package always uses the ES6 global import of client.register to register metrics (the default). It should also support custom registries as part of the configuration. This is very helpful in testing and larger apps where multiple registries are used.

disjunction commented 4 years ago

fixed in #46