{"repo":"yabeda-rb/yabeda-puma-plugin","free":true,"listed":false,"github":"https://github.com/yabeda-rb/yabeda-puma-plugin","clone":"git clone https://github.com/yabeda-rb/yabeda-puma-plugin.git","description":"Collects Puma web-server metrics from puma control panel","language":"Ruby","stars":83,"topics":["puma","metrics","monitoring","yabeda"],"license":"MIT","category":"analytics","readme_excerpt":"Built-in metrics for Puma web server monitoring out of the box! Part of the yabeda suite. Metrics Works as the Puma plugin and provides following metrics: - puma workers - the number of running puma workers - puma booted workers - the number of booted puma workers - puma old workers - the number of old puma worker Segmented by the worker (index of the worker): - puma pool capacity - the capacity of each worker: the number of requests that the server is capable of taking right now. More details are here. - puma running - the number of running threads (spawned threads) for any puma worker - puma busy threads - the number of busy threads ( running threads - how many threads are waiting to receive work + how many requests are waiting for a thread to pick them up ) - puma max threads - preconfigured maximum number of worker threads - puma backlog - the number of backlog threads, the number of connections in that worker's \"todo\" set waiting for a worker thread. - puma requests count - the number of requests a worker has served since starting. Installation Add this line to your application's Gemfile: And then execute: $ bundle Usage Collecting metrics Add those 2 lines of code to your config/puma.rb file: It will activate default puma control application working over the unix socket, and runs the yabeda puma plugin, for registering and collecting the metrics. Note In case if you're not using Rails, don't forget configure Yabeda manually either in your app initialization or in Puma c","default_branch":null,"files":null,"tree":[],"storefront":"/r/yabeda-rb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yabeda-rb/yabeda-puma-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}