yabeda-faktory 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +8 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +86 -0
- data/LICENSE.txt +21 -0
- data/README.md +57 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/yabeda/faktory.rb +77 -0
- data/lib/yabeda/faktory/client_middleware.rb +22 -0
- data/lib/yabeda/faktory/version.rb +5 -0
- data/lib/yabeda/faktory/worker_middleware.rb +22 -0
- data/yabeda-faktory.gemspec +40 -0
- metadata +149 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 55956bd3203ea456ae3a1ebb26eff3d9c41eb8d3f6fed2e00d73b4488da92ff5
|
4
|
+
data.tar.gz: 84285a3ada7acb8beb7cffdd4c3e31305430f67b5748c33357ded16684e704b4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 951c17ba207068f89c0ac48896b297f4ff7a7032841b67009798601c2f92a920f21724ee371d6da206fec255642b8e9a9fa6a42877b7bf1a5be885c54904e8a0
|
7
|
+
data.tar.gz: b1fd9f6d27f8dc06016de59331afbdbb57e3f84c785f87ba2064ed8af5f97ceadf364f510575299200c254756889350e5cd423621ba04ce32eef2ddab83f7a3a
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
|
9
|
+
## 0.1.0 - 2020-04-17
|
10
|
+
|
11
|
+
- Initial release of yabeda-faktory gem. [@Envek]
|
12
|
+
|
13
|
+
[@Envek]: https://github.com/Envek "Andrey Novikov"
|
data/Gemfile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in yabeda-faktory.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem "faktory_worker_ruby", github: "contribsys/faktory_worker_ruby" # See https://github.com/contribsys/faktory_worker_ruby/pull/48
|
7
|
+
|
8
|
+
group :development, :test do
|
9
|
+
gem "pry"
|
10
|
+
gem "pry-inline"
|
11
|
+
gem "pry-byebug", platform: :mri
|
12
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/contribsys/faktory_worker_ruby.git
|
3
|
+
revision: 154aafb79946d7d33614234dd6aaa56d10e535cd
|
4
|
+
specs:
|
5
|
+
faktory_worker_ruby (1.0.0)
|
6
|
+
connection_pool (~> 2.2, >= 2.2.2)
|
7
|
+
|
8
|
+
PATH
|
9
|
+
remote: .
|
10
|
+
specs:
|
11
|
+
yabeda-faktory (0.1.0)
|
12
|
+
faktory_worker_ruby (~> 1.0)
|
13
|
+
yabeda (~> 0.2)
|
14
|
+
|
15
|
+
GEM
|
16
|
+
remote: https://rubygems.org/
|
17
|
+
specs:
|
18
|
+
activejob (6.0.2.2)
|
19
|
+
activesupport (= 6.0.2.2)
|
20
|
+
globalid (>= 0.3.6)
|
21
|
+
activesupport (6.0.2.2)
|
22
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
23
|
+
i18n (>= 0.7, < 2)
|
24
|
+
minitest (~> 5.1)
|
25
|
+
tzinfo (~> 1.1)
|
26
|
+
zeitwerk (~> 2.2)
|
27
|
+
byebug (11.1.2)
|
28
|
+
coderay (1.1.2)
|
29
|
+
concurrent-ruby (1.1.6)
|
30
|
+
connection_pool (2.2.2)
|
31
|
+
diff-lcs (1.3)
|
32
|
+
dry-initializer (3.0.3)
|
33
|
+
globalid (0.4.2)
|
34
|
+
activesupport (>= 4.2.0)
|
35
|
+
i18n (1.8.2)
|
36
|
+
concurrent-ruby (~> 1.0)
|
37
|
+
method_source (0.9.2)
|
38
|
+
minitest (5.14.0)
|
39
|
+
pry (0.12.2)
|
40
|
+
coderay (~> 1.1.0)
|
41
|
+
method_source (~> 0.9.0)
|
42
|
+
pry-byebug (3.8.0)
|
43
|
+
byebug (~> 11.0)
|
44
|
+
pry (~> 0.10)
|
45
|
+
pry-inline (1.0.5)
|
46
|
+
pry (> 0.10.0, <= 0.12.2)
|
47
|
+
unicode (~> 0.4.4)
|
48
|
+
rake (13.0.1)
|
49
|
+
rspec (3.9.0)
|
50
|
+
rspec-core (~> 3.9.0)
|
51
|
+
rspec-expectations (~> 3.9.0)
|
52
|
+
rspec-mocks (~> 3.9.0)
|
53
|
+
rspec-core (3.9.1)
|
54
|
+
rspec-support (~> 3.9.1)
|
55
|
+
rspec-expectations (3.9.1)
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
+
rspec-support (~> 3.9.0)
|
58
|
+
rspec-mocks (3.9.1)
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
60
|
+
rspec-support (~> 3.9.0)
|
61
|
+
rspec-support (3.9.2)
|
62
|
+
thread_safe (0.3.6)
|
63
|
+
tzinfo (1.2.7)
|
64
|
+
thread_safe (~> 0.1)
|
65
|
+
unicode (0.4.4.4)
|
66
|
+
yabeda (0.5.0)
|
67
|
+
concurrent-ruby
|
68
|
+
dry-initializer
|
69
|
+
zeitwerk (2.3.0)
|
70
|
+
|
71
|
+
PLATFORMS
|
72
|
+
ruby
|
73
|
+
|
74
|
+
DEPENDENCIES
|
75
|
+
activejob (>= 6.0)
|
76
|
+
bundler (~> 2.0)
|
77
|
+
faktory_worker_ruby!
|
78
|
+
pry
|
79
|
+
pry-byebug
|
80
|
+
pry-inline
|
81
|
+
rake (~> 13.0)
|
82
|
+
rspec (~> 3.0)
|
83
|
+
yabeda-faktory!
|
84
|
+
|
85
|
+
BUNDLED WITH
|
86
|
+
2.1.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Andrey Novikov
|
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,57 @@
|
|
1
|
+
# Yabeda::[Faktory]
|
2
|
+
|
3
|
+
Built-in metrics for monitoring [Faktory worker for Ruby] out of the box! Part of the [yabeda] suite.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem 'yabeda-faktory'
|
9
|
+
|
10
|
+
# Then add monitoring system adapter, e.g.:
|
11
|
+
# gem 'yabeda-prometheus'
|
12
|
+
|
13
|
+
# If you're using Railsm don't forget to add plugin for it:
|
14
|
+
# gem 'yabeda-rails'
|
15
|
+
# But if not then you should run `Yabeda.configure!` manually when your app is ready.
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
**And that is it!** Faktory metrics are being collected!
|
23
|
+
|
24
|
+
Additionally, depending on your adapter, you may want to setup metrics export. E.g. for [yabeda-prometheus]:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# config/initializers/faktory or elsewhere
|
28
|
+
Faktory.configure_worker do |_config|
|
29
|
+
Yabeda::Prometheus::Exporter.start_metrics_server!
|
30
|
+
end
|
31
|
+
```
|
32
|
+
|
33
|
+
## Metrics
|
34
|
+
|
35
|
+
- Total number of executed jobs: `faktory_jobs_executed_total` - (segmented by `queue`, `worker` job class name, and whether their execution was `success`ful)
|
36
|
+
- Time of job run: `faktory_job_execution_runtime` (seconds per job execution, segmented by `queue`, `worker` job class name, and whether their execution was `success`ful)
|
37
|
+
- Total number of enqueued jobs: `faktory_jobs_enqueued_total` - (segmented by `queue`, `worker` job class name, and whether enqueue was `success`ful)
|
38
|
+
- Time of job run: `faktory_job_enqueue_runtime` (seconds per job enqueue, segmented by `queue`, `worker` job class name, and whether enqueue was `success`ful
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
43
|
+
|
44
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
45
|
+
|
46
|
+
## Contributing
|
47
|
+
|
48
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yabeda-rb/yabeda-faktory.
|
49
|
+
|
50
|
+
## License
|
51
|
+
|
52
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
53
|
+
|
54
|
+
[Faktory]: https://contribsys.com/faktory/ "Language-agnostic persistent background job server "
|
55
|
+
[Faktory worker for Ruby]: https://github.com/contribsys/faktory_worker_ruby "Faktory worker for Ruby"
|
56
|
+
[yabeda]: https://github.com/yabeda-rb/yabeda
|
57
|
+
[yabeda-prometheus]: https://github.com/yabeda-rb/yabeda-prometheus
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "yabeda/faktory"
|
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(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "faktory"
|
4
|
+
require "yabeda"
|
5
|
+
|
6
|
+
require "yabeda/faktory/version"
|
7
|
+
require "yabeda/faktory/client_middleware"
|
8
|
+
require "yabeda/faktory/worker_middleware"
|
9
|
+
|
10
|
+
module Yabeda
|
11
|
+
module Faktory
|
12
|
+
class Error < StandardError; end
|
13
|
+
|
14
|
+
JOB_ENQUEUE_TIME_BUCKETS = [
|
15
|
+
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10 # standard (from Prometheus)
|
16
|
+
].freeze
|
17
|
+
|
18
|
+
LONG_RUNNING_JOB_RUNTIME_BUCKETS = [
|
19
|
+
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, # standard (from Prometheus)
|
20
|
+
30, 60, 120, 300, 1800, 3600, 21_600 # Faktory jobs may be very long-running
|
21
|
+
].freeze
|
22
|
+
|
23
|
+
Yabeda.configure do
|
24
|
+
group :faktory
|
25
|
+
|
26
|
+
counter :jobs_enqueued_total, tags: %i[queue worker success], comment: "A counter of the total number of jobs faktory has enqueued."
|
27
|
+
|
28
|
+
histogram :job_enqueue_runtime, comment: "A histogram of the job enqueue time.",
|
29
|
+
unit: :seconds, per: :job,
|
30
|
+
tags: %i[queue worker success],
|
31
|
+
buckets: JOB_ENQUEUE_TIME_BUCKETS
|
32
|
+
|
33
|
+
|
34
|
+
next unless ::Faktory.worker?
|
35
|
+
|
36
|
+
counter :jobs_executed_total, tags: %i[queue worker success], comment: "A counter of the number of jobs faktory worker has executed."
|
37
|
+
|
38
|
+
histogram :job_execution_runtime, comment: "A histogram of the job execution time.",
|
39
|
+
unit: :seconds, per: :job,
|
40
|
+
tags: %i[queue worker success],
|
41
|
+
buckets: LONG_RUNNING_JOB_RUNTIME_BUCKETS
|
42
|
+
end
|
43
|
+
|
44
|
+
::Faktory.configure_client do |config|
|
45
|
+
config.client_middleware do |chain|
|
46
|
+
chain.add ClientMiddleware
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
::Faktory.configure_worker do |config|
|
51
|
+
config.client_middleware do |chain|
|
52
|
+
chain.add ClientMiddleware
|
53
|
+
end
|
54
|
+
config.worker_middleware do |chain|
|
55
|
+
chain.add WorkerMiddleware
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
class << self
|
60
|
+
def labelize(payload)
|
61
|
+
{ queue: payload["queue"], worker: worker_class(payload) }
|
62
|
+
end
|
63
|
+
|
64
|
+
def worker_class(payload)
|
65
|
+
worker = payload["jobtype"]
|
66
|
+
|
67
|
+
if defined?(ActiveJob::QueueAdapters::FaktoryAdapter::JobWrapper)
|
68
|
+
if worker.is_a?(ActiveJob::QueueAdapters::FaktoryAdapter::JobWrapper) || worker == "ActiveJob::QueueAdapters::FaktoryAdapter::JobWrapper"
|
69
|
+
return payload.dig("custom", "wrapped").to_s
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
worker.to_s
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Yabeda
|
4
|
+
module Faktory
|
5
|
+
# Client middleware to count number of enqueued jobs
|
6
|
+
class ClientMiddleware
|
7
|
+
def call(payload, _connection_pool)
|
8
|
+
success = true
|
9
|
+
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
10
|
+
yield
|
11
|
+
rescue Exception # rubocop: disable Lint/RescueException
|
12
|
+
success = false
|
13
|
+
raise
|
14
|
+
ensure
|
15
|
+
elapsed = Process.clock_gettime(Process::CLOCK_MONOTONIC) - start
|
16
|
+
labels = { success: success }.merge(Yabeda::Faktory.labelize(payload))
|
17
|
+
Yabeda.faktory.jobs_enqueued_total.increment(labels)
|
18
|
+
Yabeda.faktory.job_enqueue_runtime.measure(labels, elapsed.round(3))
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Yabeda
|
4
|
+
module Faktory
|
5
|
+
# Faktory worker middleware
|
6
|
+
class WorkerMiddleware
|
7
|
+
def call(_job_instance, payload)
|
8
|
+
success = true
|
9
|
+
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
10
|
+
yield
|
11
|
+
rescue Exception # rubocop: disable Lint/RescueException
|
12
|
+
success = false
|
13
|
+
raise
|
14
|
+
ensure
|
15
|
+
elapsed = Process.clock_gettime(Process::CLOCK_MONOTONIC) - start
|
16
|
+
labels = { success: success }.merge(Yabeda::Faktory.labelize(payload))
|
17
|
+
Yabeda.faktory.job_execution_runtime.measure(labels, elapsed.round(3))
|
18
|
+
Yabeda.faktory.jobs_executed_total.increment(labels)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "yabeda/faktory/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "yabeda-faktory"
|
7
|
+
spec.version = Yabeda::Faktory::VERSION
|
8
|
+
spec.authors = ["Andrey Novikov"]
|
9
|
+
spec.email = ["envek@envek.name"]
|
10
|
+
|
11
|
+
spec.summary = "Export performance metrics for Faktory worker for Ruby"
|
12
|
+
spec.description = <<~DESC
|
13
|
+
Yabeda plugin for easy collecting of most important Faktory Ruby worker metrics: number of executed jobs, job runtime, etc…
|
14
|
+
DESC
|
15
|
+
spec.homepage = "https://github.com/yabeda-rb/yabeda-faktory"
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
18
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
19
|
+
spec.metadata["source_code_uri"] = "https://github.com/yabeda-rb/yabeda-faktory"
|
20
|
+
spec.metadata["changelog_uri"] = "https://github.com/yabeda-rb/yabeda-faktory/blob/master/CHANGELOG.md"
|
21
|
+
|
22
|
+
# Specify which files should be added to the gem when it is released.
|
23
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
25
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
end
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ["lib"]
|
30
|
+
|
31
|
+
spec.required_ruby_version = ">= 2.3.0"
|
32
|
+
|
33
|
+
spec.add_dependency "yabeda", "~> 0.2"
|
34
|
+
spec.add_dependency "faktory_worker_ruby", "~> 1.0"
|
35
|
+
|
36
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
37
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
38
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
39
|
+
spec.add_development_dependency "activejob", ">= 6.0"
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yabeda-faktory
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrey Novikov
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: yabeda
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faktory_worker_ruby
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '13.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '13.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activejob
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '6.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '6.0'
|
97
|
+
description: 'Yabeda plugin for easy collecting of most important Faktory Ruby worker
|
98
|
+
metrics: number of executed jobs, job runtime, etc…
|
99
|
+
|
100
|
+
'
|
101
|
+
email:
|
102
|
+
- envek@envek.name
|
103
|
+
executables: []
|
104
|
+
extensions: []
|
105
|
+
extra_rdoc_files: []
|
106
|
+
files:
|
107
|
+
- ".gitignore"
|
108
|
+
- ".rspec"
|
109
|
+
- ".travis.yml"
|
110
|
+
- CHANGELOG.md
|
111
|
+
- Gemfile
|
112
|
+
- Gemfile.lock
|
113
|
+
- LICENSE.txt
|
114
|
+
- README.md
|
115
|
+
- Rakefile
|
116
|
+
- bin/console
|
117
|
+
- bin/setup
|
118
|
+
- lib/yabeda/faktory.rb
|
119
|
+
- lib/yabeda/faktory/client_middleware.rb
|
120
|
+
- lib/yabeda/faktory/version.rb
|
121
|
+
- lib/yabeda/faktory/worker_middleware.rb
|
122
|
+
- yabeda-faktory.gemspec
|
123
|
+
homepage: https://github.com/yabeda-rb/yabeda-faktory
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata:
|
127
|
+
homepage_uri: https://github.com/yabeda-rb/yabeda-faktory
|
128
|
+
source_code_uri: https://github.com/yabeda-rb/yabeda-faktory
|
129
|
+
changelog_uri: https://github.com/yabeda-rb/yabeda-faktory/blob/master/CHANGELOG.md
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.3.0
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubygems_version: 3.0.3
|
146
|
+
signing_key:
|
147
|
+
specification_version: 4
|
148
|
+
summary: Export performance metrics for Faktory worker for Ruby
|
149
|
+
test_files: []
|