Skip to content
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

Puma.stats is now a hash, not JSON. #2086

Merged
merged 1 commit into from Dec 17, 2019
Merged

Commits on Dec 17, 2019

  1. Change Puma.stats to return a hash instead of a JSON string

    Having access to the hash allows to produce stats in other ways (such as StatsD) without having to parse JSON of data that is available in memory. An example of this workaround is https://github.com/yob/puma-plugin-statsd/blob/fa6ba1f5074473618643ef7cf99747801a001dec/lib/puma/plugin/statsd.rb#L112-L114
    bdewater committed Dec 17, 2019
    Copy the full SHA
    bdf5cb5 View commit details
    Browse the repository at this point in the history