sidekiq-heartbeat_monitor 1.0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.travis.yml +8 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +86 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/sidekiq/heartbeat_monitor.rb +29 -0
- data/lib/sidekiq/heartbeat_monitor/config.rb +65 -0
- data/lib/sidekiq/heartbeat_monitor/scheduler.rb +33 -0
- data/lib/sidekiq/heartbeat_monitor/version.rb +5 -0
- data/lib/sidekiq/heartbeat_monitor/worker.rb +39 -0
- data/sidekiq-heartbeat_monitor.gemspec +42 -0
- metadata +186 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6a08a4ffbf513523621124605615a5a4ba96d93a
|
4
|
+
data.tar.gz: c6cae1bb4cf1b39ba73f430225ef72a83f62ccc9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 59567a1a5708c62811a3d7f55d81cba26aab7af8e3b35342ce7ea1834f3b59a2caf546afe7c984d44dba6e209018bbf737e8d4f6239b684be268bd4c44a65bc5
|
7
|
+
data.tar.gz: b964767137636d41e651e8d76f8c948163c32da3222c3efc7c83bb056e05c1f56c8581c55ba354112a45ea46dd1faeb33f1e83e75877d4ffade3734e08fd5c8e
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at najibkaake@gmail.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Jay El-Kaake
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# Sidekiq Heartbeat Montior Gem
|
2
|
+
|
3
|
+
This gem adds 2 things:
|
4
|
+
1. A lightweight heartbeat task that runs every few minutes and alerts if it takes longer than a few seconds to start.
|
5
|
+
2. A scheduler task that periodically checks the size of each sidekiq queue to ensure no queues are backed up.
|
6
|
+
|
7
|
+
**Table of Contents**
|
8
|
+
* [Installation](#installation)
|
9
|
+
* [Configuration](#configuration)
|
10
|
+
* [Other Things](#Other_Things)
|
11
|
+
|
12
|
+
# Installation
|
13
|
+
Add this line to your application's Gemfile:
|
14
|
+
```ruby
|
15
|
+
gem 'sidekiq-heartbeat_monitor'
|
16
|
+
```
|
17
|
+
And then execute:
|
18
|
+
$ bundle
|
19
|
+
Or install it yourself as:
|
20
|
+
$ gem install sidekiq-heartbeat_monitor
|
21
|
+
|
22
|
+
**Configuration is required - see the Configuration section below**
|
23
|
+
|
24
|
+
### Requirements
|
25
|
+
1. [Dont Repeat For Gem](https://www.github.com/jayelkaake/dont_repeat_for) - To allow you to only send notifications every so often.
|
26
|
+
2. Redis
|
27
|
+
3. (optional) [SlackNotifier](https://github.com/stevenosloan/slack-notifier) - If you're using slack notifications then this is needed.
|
28
|
+
|
29
|
+
# Configuration
|
30
|
+
### STEP 1. Create slack webhook
|
31
|
+
To add a webhook to your slack account, go to: https://api.slack.com/incoming-webhooks
|
32
|
+
Make note of the URL or add it to your environment and note the name.
|
33
|
+
|
34
|
+
### STEP 2. Add Initializer
|
35
|
+
|
36
|
+
To configure with a simple slack webhook notification URL, simply specify the notification URL in the "slack_notifier_url" attribute.
|
37
|
+
|
38
|
+
##### 2. Option 1 - Simple notification
|
39
|
+
```ruby
|
40
|
+
# config/initializers/sidekiq/hearbeat_monitor.rb
|
41
|
+
Sidekiq::HeartbeatMonitor.configure(slack_notifier_url: ENV['SLACK_WEBHOOK_URL'])
|
42
|
+
```
|
43
|
+
|
44
|
+
##### 2. Option 2 - Dont Repeat For
|
45
|
+
```ruby
|
46
|
+
# config/initializers/sidekiq/hearbeat_monitor.rb
|
47
|
+
Sidekiq::HeartbeatMonitor.configure(
|
48
|
+
slack_notifier_url: ENV['SLACK_WEBHOOK_URL'],
|
49
|
+
dont_repeat_for: 15.minutes # Won't repeat the notifications for the same queue more than once every 15 minutes.
|
50
|
+
)
|
51
|
+
```
|
52
|
+
|
53
|
+
##### 2. Option 2 - Custom Alert Method
|
54
|
+
```ruby
|
55
|
+
# config/initializers/sidekiq/hearbeat_monitor.rb
|
56
|
+
Sidekiq::HeartbeatMonitor.configure(
|
57
|
+
on_backed_up: -> (msg, queue) { Rails.logger.log("Queue #{queue.name} is backed up!"); },
|
58
|
+
on_slowed_down: -> (msg, queue) { Rails.logger.log("Queue #{queue.name} is being slow!"); },
|
59
|
+
)
|
60
|
+
```
|
61
|
+
|
62
|
+
**Note:** `on_backed_up` and `on_slowed_down` accept an array and will always add to existing callbacks (you can combine `slack_notiifer_url` with them)
|
63
|
+
|
64
|
+
### STEP 3. Schedule recurring task
|
65
|
+
If you're using sidekiq-cron, add this to your `config/scheduler.yml` file:
|
66
|
+
```yml
|
67
|
+
sidekiq_heartbeat_monitor:
|
68
|
+
cron: "*/15 * * * * *" # Heart beat runs every 15 seconds in this case
|
69
|
+
class: "Sidekiq::HeartbeatMonitor::Scheduler"
|
70
|
+
queue: scheduler
|
71
|
+
```
|
72
|
+
|
73
|
+
## Testing Your Config
|
74
|
+
To test your config:
|
75
|
+
1. Open your rails console.
|
76
|
+
2. Run `Sidekiq::HeartbeatMontior.send_test!` and you should see notifications come up in your Slack (or however you have them configured). If there's something wrong it should show an error.
|
77
|
+
|
78
|
+
|
79
|
+
# Other Things
|
80
|
+
### Contributing
|
81
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jayelkaake/sidekiq-heartbeat_monitor.
|
82
|
+
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to
|
83
|
+
adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
84
|
+
|
85
|
+
### License
|
86
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "activemodel_flags"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require "sidekiq"
|
2
|
+
require 'sidekiq/heartbeat_monitor/version'
|
3
|
+
require 'sidekiq/heartbeat_monitor/config'
|
4
|
+
require 'sidekiq/heartbeat_monitor/scheduler'
|
5
|
+
require 'sidekiq/heartbeat_monitor/worker'
|
6
|
+
|
7
|
+
module Sidekiq
|
8
|
+
module HeartbeatMonitor
|
9
|
+
def self.configure(*args, &block)
|
10
|
+
Config.configure(*args, &block)
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.send_backed_up_alert(*args, &block)
|
14
|
+
Config.send_backed_up_alert(*args, &block)
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.send_slowed_down_alert(*args, &block)
|
18
|
+
Config.send_slowed_down_alert(*args, &block)
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.send_test!
|
22
|
+
test_queue = Sidekiq::Queue.new('test')
|
23
|
+
|
24
|
+
send_backed_up_alert("Test backed up alert!", test_queue)
|
25
|
+
send_slowed_down_alert("Test slowed down alert!", test_queue)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
module Sidekiq
|
2
|
+
module HeartbeatMonitor
|
3
|
+
class Config
|
4
|
+
class << self
|
5
|
+
def configure(max_queue_size: nil, on_backed_up: nil, on_slowed_down: nil, dont_repeat_for: nil, slack_notifier_url: nil)
|
6
|
+
@max_queue_size = max_queue_size unless max_queue_size.nil?
|
7
|
+
|
8
|
+
@dont_repeat_for = dont_repeat_for unless dont_repeat_for.nil?
|
9
|
+
|
10
|
+
@on_backed_up = (on_backed_up.is_a?(Enumerable) ? on_backed_up : [on_backed_up]) unless on_backed_up.nil?
|
11
|
+
@on_slowed_down = (on_slowed_down.is_a?(Enumerable) ? on_slowed_down : [on_slowed_down]) unless on_slowed_down.nil?
|
12
|
+
|
13
|
+
if slack_notifier_url.present?
|
14
|
+
@notifier = Slack::Notifier.new(slack_notifier_url)
|
15
|
+
|
16
|
+
slack_notifier_callback = [-> (msg, queue) { @notifier.ping(msg) }]
|
17
|
+
|
18
|
+
@on_backed_up = @on_backed_up.to_a + slack_notifier_callback
|
19
|
+
@on_slowed_down = @on_slowed_down.to_a + slack_notifier_callback
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def send_test!
|
24
|
+
test_queue = Sidekiq::Queue.new('test')
|
25
|
+
send_backed_up_alert("Test backed up alert!", test_queue)
|
26
|
+
send_slowed_down_alert("Test slowed down alert!", test_queue)
|
27
|
+
end
|
28
|
+
|
29
|
+
def send_backed_up_alert(message, q)
|
30
|
+
if @on_backed_up.blank?
|
31
|
+
puts ("WARNING: No 'on_backed_up' callback defined for sidekiq-heartbeat_monitor but one of the queues are backed up: #{message}")
|
32
|
+
return
|
33
|
+
end
|
34
|
+
|
35
|
+
if @dont_repeat_for.nil?
|
36
|
+
@on_backed_up.to_a.each { |alert| alert.call(message, q) }
|
37
|
+
else
|
38
|
+
DontRepeatFor.new(@dont_repeat_for, "Sidekiq/HeartbeatMonitor/#{q.name}/send_backed_up_alert") do
|
39
|
+
@on_backed_up.to_a.each { |alert| alert.call(message, q) }
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def send_slowed_down_alert(message, q)
|
45
|
+
if @on_slowed_down.blank?
|
46
|
+
puts ("WARNING: No 'on_slowed_down' callback defined for sidekiq-heartbeat_monitor but one of the queues are backed up: #{message}")
|
47
|
+
return
|
48
|
+
end
|
49
|
+
|
50
|
+
if @dont_repeat_for.nil?
|
51
|
+
@on_slowed_down.to_a.each { |alert| alert.call(message, q) }
|
52
|
+
else
|
53
|
+
DontRepeatFor.new(@dont_repeat_for, "Sidekiq/HeartbeatMonitor/#{q.name}/send_slowed_down_alert") do
|
54
|
+
@on_slowed_down.to_a.each { |alert| alert.call(message, q) }
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def max_queue_size
|
60
|
+
@max_queue_size || ENV.fetch('SIDEKIQ_MONITOR_MAX_QUEUE_SIZE', 5000).to_i
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Sidekiq
|
2
|
+
module HeartbeatMonitor
|
3
|
+
class Scheduler
|
4
|
+
include Sidekiq::Worker
|
5
|
+
sidekiq_options retry: 0
|
6
|
+
|
7
|
+
##
|
8
|
+
# Checks to see if queues are backed up by 1000 or more jobs and also schedules the heartbeat job.
|
9
|
+
def perform
|
10
|
+
Sidekiq::Queue.all.each do |q|
|
11
|
+
check_queue_size(q, Sidekiq::HeartbeatMonitor::Config.max_queue_size)
|
12
|
+
|
13
|
+
Sidekiq::HeartbeatMonitor::Worker.perform_async(q.name, 15)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def check_queue_size(q, max_queue_size)
|
18
|
+
if q.size > max_queue_size
|
19
|
+
send_server_alert("⚠️ Queue #{q.name} has more than #{max_queue_size} jobs waiting to be processed. Current size is #{q.size}", q)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
##
|
24
|
+
# @param msg [String] Message to post
|
25
|
+
# @param queue_name [Sidekiq::Queue] Queue we're concerned with
|
26
|
+
def send_server_alert(msg, q)
|
27
|
+
Sidekiq::HeartbeatMonitor::Config.send_backed_up_alert(msg, q)
|
28
|
+
|
29
|
+
true
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module Sidekiq
|
2
|
+
module HeartbeatMonitor
|
3
|
+
class Worker
|
4
|
+
|
5
|
+
include Sidekiq::Worker
|
6
|
+
sidekiq_options retry: 0
|
7
|
+
|
8
|
+
##
|
9
|
+
# Runs every x seconds and ensures that the time between jobs is consistent and
|
10
|
+
# @param queue_name [String] Name of the queue that this heartbeat is running on.
|
11
|
+
def perform(queue_name, secs_between_beats = 15)
|
12
|
+
current_run_at = Time.now.utc.to_i
|
13
|
+
last_run_at = $redis.get("Sidekiq/HeartbeatMonitor/Worker/#{queue_name}.last_run_at").to_i
|
14
|
+
|
15
|
+
if last_run_at > 0
|
16
|
+
time_since_last_run = current_run_at - last_run_at
|
17
|
+
if time_since_last_run > (5.minutes + secs_between_beats)
|
18
|
+
sec_backed_up = time_since_last_run - secs_between_beats
|
19
|
+
|
20
|
+
send_server_alert("⚠️ queue #{queue_name} took > #{sec_backed_up}s to reach job.", queue_name)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
$redis.set("Sidekiq/HeartbeatMonitor/Worker/#{queue_name}.last_run_at", current_run_at, ex: 1.hour)
|
25
|
+
end
|
26
|
+
|
27
|
+
##
|
28
|
+
# @param msg [String] Message to post
|
29
|
+
# @param queue_name [String] Queue we're concerned with
|
30
|
+
def send_server_alert(msg, queue_name)
|
31
|
+
Sidekiq::HeartbeatMonitor::Config.send_slowed_down_alert(msg, queue_name)
|
32
|
+
|
33
|
+
true
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'sidekiq/heartbeat_monitor'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "sidekiq-heartbeat_monitor"
|
8
|
+
spec.version = Sidekiq::HeartbeatMonitor::VERSION
|
9
|
+
spec.authors = ["Jay El-Kaake"]
|
10
|
+
spec.email = ["najibkaake@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Makes it easy to monitor your sidekiq queues, especially with Slack.}
|
13
|
+
spec.description = %q{Easily monitor your sidekiq queus with Slack or some other notification service.}
|
14
|
+
spec.homepage = "https://www.github.com/jayelkaake/sidekiq-heartbeat_monitor"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
# end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency "dont_repeat_for", ">= 1.0.0"
|
31
|
+
spec.add_dependency "slack-notifier", ">= 2.0.0"
|
32
|
+
spec.add_dependency "sidekiq", ">= 4.2.1"
|
33
|
+
|
34
|
+
spec.add_development_dependency "rails", ">= 4.0.0"
|
35
|
+
|
36
|
+
spec.add_development_dependency "bundler"
|
37
|
+
spec.add_development_dependency "temping", "~> 3.3.0"
|
38
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
39
|
+
spec.add_development_dependency "rspec", '~> 3.4'
|
40
|
+
spec.add_development_dependency "sqlite3", '~> 1.3.11'
|
41
|
+
|
42
|
+
end
|
metadata
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sidekiq-heartbeat_monitor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jay El-Kaake
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dont_repeat_for
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: slack-notifier
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sidekiq
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.2.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.2.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.0.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.0.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: temping
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.3.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.3.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '10.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.4'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.4'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sqlite3
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.3.11
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.3.11
|
139
|
+
description: Easily monitor your sidekiq queus with Slack or some other notification
|
140
|
+
service.
|
141
|
+
email:
|
142
|
+
- najibkaake@gmail.com
|
143
|
+
executables: []
|
144
|
+
extensions: []
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- ".gitignore"
|
148
|
+
- ".travis.yml"
|
149
|
+
- CODE_OF_CONDUCT.md
|
150
|
+
- Gemfile
|
151
|
+
- LICENSE.txt
|
152
|
+
- README.md
|
153
|
+
- Rakefile
|
154
|
+
- bin/console
|
155
|
+
- bin/setup
|
156
|
+
- lib/sidekiq/heartbeat_monitor.rb
|
157
|
+
- lib/sidekiq/heartbeat_monitor/config.rb
|
158
|
+
- lib/sidekiq/heartbeat_monitor/scheduler.rb
|
159
|
+
- lib/sidekiq/heartbeat_monitor/version.rb
|
160
|
+
- lib/sidekiq/heartbeat_monitor/worker.rb
|
161
|
+
- sidekiq-heartbeat_monitor.gemspec
|
162
|
+
homepage: https://www.github.com/jayelkaake/sidekiq-heartbeat_monitor
|
163
|
+
licenses:
|
164
|
+
- MIT
|
165
|
+
metadata: {}
|
166
|
+
post_install_message:
|
167
|
+
rdoc_options: []
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubyforge_project:
|
182
|
+
rubygems_version: 2.6.10
|
183
|
+
signing_key:
|
184
|
+
specification_version: 4
|
185
|
+
summary: Makes it easy to monitor your sidekiq queues, especially with Slack.
|
186
|
+
test_files: []
|