Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/locaweb/heartcheck-resque
plugin for heartcheck to monitor resque
https://github.com/locaweb/heartcheck-resque
hacktoberfest
Last synced: about 2 months ago
JSON representation
plugin for heartcheck to monitor resque
- Host: GitHub
- URL: https://github.com/locaweb/heartcheck-resque
- Owner: locaweb
- License: mit
- Created: 2015-06-01T16:26:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-23T04:36:13.000Z (about 3 years ago)
- Last Synced: 2024-04-16T18:21:21.858Z (9 months ago)
- Topics: hacktoberfest
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 19
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Heartcheck::Resque
[![Build Status](https://travis-ci.org/locaweb/heartcheck-resque.svg)](https://travis-ci.org/locaweb/heartcheck-resque)
[![Code Climate](https://codeclimate.com/github/locaweb/heartcheck-resque/badges/gpa.svg)](https://codeclimate.com/github/locaweb/heartcheck-resque)##A plugin to check resque connection and error amount with [heartcheck](https://github.com/locaweb/heartcheck).
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'heartcheck-resque'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install heartcheck-resque
## Usage
You can check any resque connection that there's in your app.
```ruby
Heartcheck.setup do |config|
config.add :resque do |c|
c.add_service(failures_limit: 10)
end
end
```### Check Heartcheck example [here](https://github.com/locaweb/heartcheck/blob/master/lib/heartcheck/generators/templates/config.rb)
## License
* [MIT License](https://github.com/locaweb/heartcheck-resque/blob/master/LICENSE.txt)## Contributing
1. Fork it ( https://github.com/locaweb/heartcheck-resque/fork )
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 a new Pull Request