MIT licensed Build Status Code Climate Test Coverage Issue Count

Sqlogger

Collect 'ActiveRecord sql query' to monitoring system(s).

send sql-log to elasticsearch

Dependency

Currently only supports Rails 5.1.0beta1 or more.

Installation

Add this line to your application's Gemfile:

gem 'sqlogger', group: :development

And then execute in Rails Project root directory:

$ bundle
$ rake sqlogger:install

Usage

edit sqlogger setting file in config/initializers/sqlogger.rb.

Contributing

git-flow.