Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sensu-plugins/sensu-plugins-sidekiq
Sensu plugins for Sidekiq
https://github.com/sensu-plugins/sensu-plugins-sidekiq
metrics monitoring sensu sensu-plugins sidekiq
Last synced: about 2 months ago
JSON representation
Sensu plugins for Sidekiq
- Host: GitHub
- URL: https://github.com/sensu-plugins/sensu-plugins-sidekiq
- Owner: sensu-plugins
- License: mit
- Created: 2015-04-22T01:01:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T19:17:42.000Z (over 3 years ago)
- Last Synced: 2024-04-23T15:02:25.015Z (9 months ago)
- Topics: metrics, monitoring, sensu, sensu-plugins, sidekiq
- Language: Ruby
- Homepage: http://sensu-plugins.io
- Size: 35.2 KB
- Stars: 6
- Watchers: 10
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Sensu-Plugins-sidekiq
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-sidekiq.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-sidekiq)
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-sidekiq.svg)](http://badge.fury.io/rb/sensu-plugins-sidekiq)
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-sidekiq/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-sidekiq)
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-sidekiq/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-sidekiq)
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-sidekiq.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-sidekiq)## Functionality
Check various metrics and checks for Sidekiq.
The following scripts:* bin/check-sidekiq.rb
* bin/sidekiq-metrics.rb
require [sidekiq-monitor-stats](https://github.com/harvesthq/sidekiq-monitor-stats)
running on your application. Pass the `--url URL` option with the url to your monitor stats. Both scripts also accept a
`--auth USER:PASSWORD` option in case the monitor stats url sits behind basic authorization.* bin/check-sidekiq-dead-queue.rb
uses the native sidekiq JSON dashboard under `/dashboard/stats`
[More info](https://github.com/mperham/sidekiq/wiki/Monitoring#using-the-built-in-dashboard)### check-sidekiq.rb
Uses the maximum latency to figure out when to raise warnings. The latency is the time a job has been waiting in the queue (without
being processed). It's generally a good metric to know when there's trouble with Sidekiq. There are some options you can pass to this
script:* `--warn SECONDS`: Warn after job has been SECONDS seconds in a queue. The default is 120.
* `--crit SECONDS`: Critical after job has been SECONDS seconds in a queue. The default is 300.### sidekiq-metrics.rb
Generates total concurrency (`concurrency`), total busy (`busy`) and maximum latency (`latency`) metrics for your sidekiq. A graph of
busy vs. concurrency is specially useful for capacity planning. The latency metric should let you know if something is wrong (or there
are spikes that don't trigger a warning or a critical). Accepts an `--scheme SCHEME` option to know what scheme to append to the
metrics (the default is `sidekiq`).### check-sidekiq-dead-queue.rb
Checks the dead queue and raises a CRITICAL if it's not empty. Jobs in the dead queue have failed over 25 times. Some organisations might consider this an issue to address and could benefit from this check.## Files
* bin/check-sidekiq.rb
* bin/sidekiq-metrics.rb
* bin/check-sidekiq-dead-queue.rb## Usage
## Installation
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
## Notes
Thanks to [xxxxxx]() for contributing.