prometheus_exporter cannot reliably be used with other instrumentation libraries that use prepend to instrument methods as described in https://github.com/discourse/prometheus_exporter/issues/159. The goal of this PR is to provide the ability to have prometheus_exporter instrument using prepend, while still maintaining the default of alias_method.
prometheus_exporter
cannot reliably be used with other instrumentation libraries that useprepend
to instrument methods as described in https://github.com/discourse/prometheus_exporter/issues/159. The goal of this PR is to provide the ability to haveprometheus_exporter
instrument usingprepend
, while still maintaining the default ofalias_method
.