https://github.com/peek/peek-mysql2
Take a peek into the MySQL queries made during your application's requests.
https://github.com/peek/peek-mysql2
mysql peek ruby
Last synced: about 2 months ago
JSON representation
Take a peek into the MySQL queries made during your application's requests.
- Host: GitHub
- URL: https://github.com/peek/peek-mysql2
- Owner: peek
- License: mit
- Created: 2013-03-09T21:50:18.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-06-21T19:00:42.000Z (almost 8 years ago)
- Last Synced: 2025-03-10T20:18:35.009Z (3 months ago)
- Topics: mysql, peek, ruby
- Language: Ruby
- Homepage:
- Size: 12.7 KB
- Stars: 9
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Peek::Mysql2
Take a peek into the MySQL queries made during your application's requests.
Things this peek view provides:
- Total number of MySQL queries called during the request
- The duration of the queries made during the request## Installation
Add this line to your application's Gemfile:
gem 'peek-mysql2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install peek-mysql2
## Usage
Add the following to your `config/initializers/peek.rb`:
```ruby
Peek.into Peek::Views::Mysql2
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request