Closed snowfield702 closed 2 years ago
Hi maintainers,
Checked the code and wrote a patch below, I thought it would fix this https://github.com/discourse/prometheus_exporter/pull/254 Could you please take a time to check this up?
I and my colleagues are always helped by prometheus_exporter gem. Thank you.
thanks heaps for the PR and bug report, just working through the test cases atm, will try to do a release tomorrow once sorted
After upgrading to 2.0.4, the following error occurred when starting Ruby on Rails.
We choose
:prepend
for the style of method patching. https://github.com/discourse/prometheus_exporter#choosing-the-style-of-method-patchingI think that it is the effect of changing
prepend_instument
toklass
in the following correspondence. https://github.com/discourse/prometheus_exporter/pull/250/files#diff-cb9a335ee1d17a77e55d1bc374c4c76ebbf05e6b84de4ce41f1fbc560bda41b7R63