harmjanblok / puma-metrics

Puma plugin to export puma stats as prometheus metrics
MIT License
94 stars 27 forks source link

Moved registry definition into a new Config module so that it can be set at the plugin level. #26

Closed jeremiahishere closed 2 years ago

jeremiahishere commented 3 years ago

Quick and dirty code change to move the registry definition to a centralized place and allow it to be changed outside the gem.

My use case will involve a custom plugin with some funkiness around the prometheus registry management.

I am interested in feedback on code style and the best way to test.

harmjanblok commented 3 years ago

@jeremiahishere do you have examples of alternative registries or an example use case?

harmjanblok commented 2 years ago

Closing due to missing example use cases.