Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/springmt/fluent-plugin-resque_stat
Fluent input plugin for Resque info
https://github.com/springmt/fluent-plugin-resque_stat
Last synced: about 1 month ago
JSON representation
Fluent input plugin for Resque info
- Host: GitHub
- URL: https://github.com/springmt/fluent-plugin-resque_stat
- Owner: SpringMT
- License: mit
- Created: 2013-01-26T07:27:48.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-08T10:45:57.000Z (almost 11 years ago)
- Last Synced: 2024-12-01T11:21:35.556Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 178 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Fluent::Plugin::ResqueStat, a plugin for [Fluentd](http://fluentd.org) [![Build Status](https://travis-ci.org/SpringMT/fluent-plugin-resque_stat.png)](https://travis-ci.org/SpringMT/fluent-plugin-resque_stat)
Fluent input plugin for Resque info
## Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-resque_stat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-resque_stat
## Configuration
```
type resque_stat
tag resque
host 127.0.0.1
port 6379
run_interval 1s
```
## Output FormatSample
{:pending=>0, :processed=>46, :queues=>1, :workers=>0, :working=>0, :failed=>0, :servers=>["redis://:6379/0"], :environment=>"development"}Record
```json
{
"pending": 0,
"processed": 46,
"queues": 1,
"workers": 0,
"working": 0,
"failed": 0,
"servers": "[\"redis://:6379/0\"]",
"environment": "development"
}
```## 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