- Notifications
You must be signed in to change notification settings - Fork 161
FEATURE: Add new metrics busy_threads from Puma #333
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
Conversation
| Any chance of this being merged? |
| @benoittgt This looks good to me. Can you add a changelog entry before I merge this? thank you! |
01b19a3 to 255bf05 Compare | @tgxworld thanks for the review. It should be good. ;) |
255bf05 to 4193947 Compare Expose a prometheus metric new thread stats from Puma - puma/puma#3517
PrometheusExporterMiddlewareTest#test_redis_5_call_pipelined_patching: ArgumentError: wrong number of arguments (given 2, expected 3) test/test_helper.rb:12:in `call_pipelined' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client.rb:412:in `block (2 levels) in pipelined' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client/middlewares.rb:16:in `call' test/test_helper.rb:60:in `call_pipelined' lib/prometheus_exporter/instrumentation/method_profiler.rb:67:in `call_pipelined' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client.rb:411:in `block in pipelined' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client.rb:677:in `ensure_connected' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client.rb:409:in `pipelined' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client/pooled.rb:57:in `block in pipelined' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client/pooled.rb:30:in `block in with' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client/pooled.rb:26:in `with' /Users/benoit.tigeot/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/redis-client-0.19.1/lib/redis_client/pooled.rb:57:in `pipelined' test/middleware_test.rb:118:in `test_redis_5_call_pipelined_patching'
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
4193947 to 7125d8d Compare | Sorry @benoittgt, can you fix the linting error before I merge. Thank you! |
| Oups sorry. I've miss it @tgxworld. It should be good now. |
| @benoittgt Sorry one last change before merging. The linting workflow is broken. |
| No problem @tgxworld, I should have check. |
New Puma version has a nice addition of metric on busy threads.