{"repo":"yabeda-rb/yabeda-rails","free":true,"listed":false,"github":"https://github.com/yabeda-rb/yabeda-rails","clone":"git clone https://github.com/yabeda-rb/yabeda-rails.git","description":"Yabeda plugin to collect basic metrics for Rails applications","language":"Ruby","stars":196,"topics":["rails","metrics","yabeda","monitoring"],"license":"MIT","category":"analytics","readme_excerpt":"Built-in metrics for out-of-the box [Rails] applications monitoring. If your monitoring system already collects Rails metrics (e.g. NewRelic) then most probably you don't need this gem. Sample Grafana dashboard ID: 11668 Installation Add this line to your application's Gemfile: And then execute: $ bundle Registering metrics on server process start Currently, yabeda-rails automatically registers rails metrics when a server is started via rails server , puma -C config/puma.rb or unicorn -c . However, other application servers or launching via rackup aren't supported at the moment. A possible workaround is to detect server process and manually activate yabeda-rails in an initializer: You always can add support for your app server to lib/yabeda/rails/railtie.rb. Pull Requests are always welcome! Metrics - Total web requests received: rails requests total - Web request duration: rails request duration (in seconds) - Views rendering duration: rails view runtime (in seconds) - DB request duration: rails db runtime (in seconds) Hooks - on controller action : Allows to collect Custom tags You can add additional tags to the existing metrics by adding custom payload to your controller. append info to payload is a method from ActionController::Instrumentation Configuration Configuration is handled by [anyway config] gem. With it you can load settings from environment variables (upcased and prefixed with YABEDA RAILS ), YAML files, and other sources. See [anyway config] docs for details. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yabeda-rb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yabeda-rb/yabeda-rails/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."}