New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Puma master branch #31
Comments
Puma 5.0 will return a hash here, so I think you should just only attempt JSON conversion if Puma.stats is a |
Can we have it give a different API? Maybe |
I think we had a strong case to change it. Exposing a string is not extensible by external consumers, which is what this API is intended for. A hash is a much better object for this purpose. |
A proposal in puma/puma#2253 to expose this as a hash without breaking backward compat. |
This is resolved |
I just attempted to use Puma master, and requests were failing with the following:
In puma/puma#2086,
Puma.stats
was changed to return a Hash instead of a String. I'm assuming this line needs to be updated to support that.barnes/lib/barnes/instruments/puma_instrument.rb
Line 24 in 62e99ba
The text was updated successfully, but these errors were encountered: