honeykiq 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +14 -45
- data/.gitignore +2 -3
- data/CHANGELOG.md +13 -0
- data/Gemfile +1 -1
- data/README.md +28 -14
- data/Rakefile +4 -3
- data/honeykiq.gemspec +18 -26
- data/lib/honeykiq/beeline_span.rb +16 -11
- data/lib/honeykiq/client_middleware.rb +1 -1
- data/lib/honeykiq/periodic_reporter.rb +9 -9
- data/lib/honeykiq/server_middleware.rb +8 -8
- data/lib/honeykiq/version.rb +1 -1
- data/lib/honeykiq.rb +6 -6
- metadata +32 -48
- data/.rubocop.yml +0 -3
- data/Gemfile.lock +0 -106
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b58704c1073bcabb4c4604e1b2859fe2c5e12441ff9a6147a04ba91b81502a51
|
4
|
+
data.tar.gz: 996f68a12ea08d129d1f824301b8b555222ce1627eb31bfd9061f0310c0b2a15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ea76eb835772915a56f91f9441369f5d1cdfa5ab8c08782116e3a9d7ce65737fb4c4ce83ad4130708993b5c0a5ae03c51aaba756525249139b1752176231652
|
7
|
+
data.tar.gz: 59a504ebcf7c30ddb427717bd4f92a1a77f4d412ff6a0cf48c2380fbc5e2f86a7d9b8e36589a2f234bd9101f1c11fce5de4481a27fdce87ee71f364ac3a0a8d6
|
data/.circleci/config.yml
CHANGED
@@ -1,54 +1,23 @@
|
|
1
|
-
|
2
|
-
image: carwow/ruby-ci:2.6
|
3
|
-
|
4
|
-
version: 2
|
1
|
+
version: 2.1
|
5
2
|
|
6
3
|
jobs:
|
7
|
-
|
8
|
-
|
4
|
+
test:
|
5
|
+
parameters:
|
6
|
+
ruby:
|
7
|
+
type: string
|
9
8
|
docker:
|
10
|
-
-
|
9
|
+
- image: 'cimg/ruby:<< parameters.ruby >>'
|
11
10
|
steps:
|
12
11
|
- checkout
|
13
|
-
-
|
14
|
-
|
15
|
-
|
16
|
-
- bundle-
|
17
|
-
- run: |
|
18
|
-
bundle config --local path vendor/bundle &&
|
19
|
-
bundle check || bundle install --jobs=4 --retry=3
|
20
|
-
- save_cache:
|
21
|
-
key: bundle-{{ checksum "Gemfile.lock" }}
|
22
|
-
paths: [~/honeykiq/vendor/bundle]
|
23
|
-
- persist_to_workspace:
|
24
|
-
root: '~'
|
25
|
-
paths: [honeykiq]
|
26
|
-
|
27
|
-
rubocop:
|
28
|
-
working_directory: ~/honeykiq
|
29
|
-
docker:
|
30
|
-
- *ruby
|
31
|
-
steps:
|
32
|
-
- attach_workspace:
|
33
|
-
at: '~'
|
34
|
-
- run: bundle exec rubocop
|
35
|
-
|
36
|
-
tests:
|
37
|
-
working_directory: ~/honeykiq
|
38
|
-
docker:
|
39
|
-
- *ruby
|
40
|
-
steps:
|
41
|
-
- attach_workspace:
|
42
|
-
at: '~'
|
43
|
-
- run: |
|
44
|
-
bundle exec rspec
|
12
|
+
- run: bundle install
|
13
|
+
- run: bundle exec rspec
|
14
|
+
- run: bundle exec standardrb
|
45
15
|
|
46
16
|
workflows:
|
47
17
|
version: 2
|
48
|
-
|
18
|
+
test:
|
49
19
|
jobs:
|
50
|
-
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
requires: [bundle]
|
20
|
+
- test:
|
21
|
+
matrix:
|
22
|
+
parameters:
|
23
|
+
ruby: ["2.7", "2.6"]
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.4.0]
|
10
|
+
### Added
|
11
|
+
- Support for `:child_trace` mode (#19)
|
12
|
+
|
13
|
+
### Fixed
|
14
|
+
- Support sidekiq v6.2.2 (#23)
|
15
|
+
- Link events respect beeline sampling (#17)
|
16
|
+
WARNING: This is technically a breaking change since it now sends
|
17
|
+
`meta.annotation_type` field instead of `meta.span_type` for the link event,
|
18
|
+
but `meta.span_type` is deprecated for annotation events since it already has
|
19
|
+
another use case which the beeline uses. I believe no one is actually using
|
20
|
+
link events anyway. If you run into problems and need help, open an issue.
|
21
|
+
|
9
22
|
## [1.3.0]
|
10
23
|
### Added
|
11
24
|
- Allow beeline tracing to be configured (#11)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -36,29 +36,43 @@ not with a custom `Libhoney` client.
|
|
36
36
|
```ruby
|
37
37
|
# Configure Honeycomb beeline
|
38
38
|
Honeycomb.configure do |config|
|
39
|
-
config.
|
39
|
+
config.write_key = ENV.fetch('HONEYCOMB_WRITE_KEY')
|
40
40
|
config.dataset = ENV.fetch('HONEYCOMB_DATASET')
|
41
41
|
end
|
42
42
|
|
43
43
|
# Add the middleware to Sidekiq chain
|
44
|
-
Sidekiq.
|
45
|
-
config.server_middleware do |chain|
|
46
|
-
# tracing_mode: options are :link or :child
|
47
|
-
# - :link will use link events https://docs.honeycomb.io/getting-data-in/tracing/send-trace-data/#links
|
48
|
-
# - :child will use add the job as a span to the enqueing trace
|
49
|
-
chain.add Honeykiq::ServerMiddleware, tracing_mode: :link
|
50
|
-
end
|
51
|
-
|
52
|
-
# Configure the servers client. Used when a worker enqueues a job itself.
|
44
|
+
Sidekiq.configure_client do |config|
|
53
45
|
config.client_middleware do |chain|
|
54
46
|
chain.add Honeykiq::ClientMiddleware
|
55
47
|
end
|
56
48
|
end
|
57
49
|
|
58
|
-
|
50
|
+
# Also add it to the server client chain
|
51
|
+
Sidekiq.configure_server do |config|
|
52
|
+
# Configure the server client, used when a worker enqueues a job itself.
|
59
53
|
config.client_middleware do |chain|
|
60
54
|
chain.add Honeykiq::ClientMiddleware
|
61
55
|
end
|
56
|
+
|
57
|
+
# Configure ServerMiddleware with a tracing mode
|
58
|
+
config.server_middleware do |chain|
|
59
|
+
# tracing_mode: options are nil (default), :child, :child_trace, :link
|
60
|
+
#
|
61
|
+
# - nil (default) starts a span and trace when the job executes.
|
62
|
+
#
|
63
|
+
# - :child starts a span as a child of the enqueuing trace,
|
64
|
+
# requires ClientMiddleware to be configured when enqueuing the job.
|
65
|
+
#
|
66
|
+
# - :child_trace (experimental) starts a span and a trace
|
67
|
+
# with trace.parent_id set to the enqueuing trace id,
|
68
|
+
# requires ClientMiddleware to be configured when enqueuing the job.
|
69
|
+
#
|
70
|
+
# - :link (experimental) starts a span and trace
|
71
|
+
# with a link event that points to the enqueuing trace,
|
72
|
+
# requires ClientMiddleware to be configured when enqueuing the job.
|
73
|
+
# https://docs.honeycomb.io/getting-data-in/tracing/send-trace-data/#links
|
74
|
+
chain.add Honeykiq::ServerMiddleware, tracing_mode: :child
|
75
|
+
end
|
62
76
|
end
|
63
77
|
```
|
64
78
|
|
@@ -73,7 +87,7 @@ to see what kind of information it sends.
|
|
73
87
|
```ruby
|
74
88
|
# Configure Honeycomb beeline
|
75
89
|
Honeycomb.configure do |config|
|
76
|
-
config.
|
90
|
+
config.write_key = ENV.fetch('HONEYCOMB_WRITE_KEY')
|
77
91
|
config.dataset = ENV.fetch('HONEYCOMB_DATASET')
|
78
92
|
end
|
79
93
|
|
@@ -89,7 +103,7 @@ Sidekiq.configure_server do |config|
|
|
89
103
|
config.server_middleware do |chain|
|
90
104
|
chain.add Honeykiq::ServerMiddleware,
|
91
105
|
libhoney: Libhoney::Client.new(
|
92
|
-
|
106
|
+
write_key: ENV.fetch('HONEYCOMB_WRITE_KEY'),
|
93
107
|
dataset: ENV.fetch('HONEYCOMB_DATASET')
|
94
108
|
)
|
95
109
|
end
|
@@ -145,7 +159,7 @@ require 'clockwork'
|
|
145
159
|
require 'honeykiq'
|
146
160
|
|
147
161
|
Honeycomb.configure do |config|
|
148
|
-
config.
|
162
|
+
config.write_key = ENV.fetch('HONEYCOMB_WRITE_KEY')
|
149
163
|
config.dataset = ENV.fetch('HONEYCOMB_DATASET')
|
150
164
|
end
|
151
165
|
|
data/Rakefile
CHANGED
data/honeykiq.gemspec
CHANGED
@@ -1,35 +1,27 @@
|
|
1
|
-
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'honeykiq/version'
|
1
|
+
require_relative "lib/honeykiq/version"
|
4
2
|
|
5
3
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.authors
|
9
|
-
spec.email
|
10
|
-
spec.summary
|
11
|
-
spec.description
|
12
|
-
spec.homepage
|
13
|
-
spec.license
|
4
|
+
spec.name = "honeykiq"
|
5
|
+
spec.version = Honeykiq::VERSION
|
6
|
+
spec.authors = ["carwow Developers"]
|
7
|
+
spec.email = ["developers@carwow.co.uk"]
|
8
|
+
spec.summary = "Sidekiq → Honeycomb 🐝"
|
9
|
+
spec.description = "Send Sidekiq related events to Honeycomb."
|
10
|
+
spec.homepage = "https://github.com/carwow/honeykiq"
|
11
|
+
spec.license = "MIT"
|
14
12
|
|
15
|
-
|
16
|
-
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
17
|
-
else
|
18
|
-
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
19
|
-
'public gem pushes.'
|
20
|
-
end
|
13
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
21
14
|
|
22
15
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(
|
16
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|example)/}) }
|
24
17
|
end
|
25
|
-
spec.require_paths = [
|
18
|
+
spec.require_paths = ["lib"]
|
26
19
|
|
27
|
-
spec.add_dependency
|
20
|
+
spec.add_dependency "sidekiq", "~> 6.2.2"
|
28
21
|
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
32
|
-
spec.add_development_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency 'rspec'
|
22
|
+
spec.add_development_dependency "honeycomb-beeline", "~> 2.6"
|
23
|
+
spec.add_development_dependency "pry", "~> 0.14"
|
24
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
25
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
26
|
+
spec.add_development_dependency "standard", "~> 0.13"
|
35
27
|
end
|
@@ -6,10 +6,10 @@ module Honeykiq
|
|
6
6
|
|
7
7
|
def call(name:, serialized_trace:, &block)
|
8
8
|
case tracing_mode
|
9
|
-
when :link
|
9
|
+
when :link then link_span(name, serialized_trace, &block)
|
10
10
|
when :child then child_span(name, serialized_trace, &block)
|
11
|
-
|
12
|
-
|
11
|
+
when :child_trace then child_trace(name, serialized_trace, &block)
|
12
|
+
else Honeycomb.start_span(name: name, &block)
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -25,26 +25,31 @@ module Honeykiq
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
def child_span(name, serialized_trace)
|
29
|
-
Honeycomb.start_span(name: name, serialized_trace: serialized_trace) do |event|
|
30
|
-
yield event
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
28
|
def link_to_enqueuing_trace(current, serialized_trace)
|
35
29
|
return unless serialized_trace
|
36
30
|
|
37
31
|
trace_id, parent_span_id, = TraceParser.parse(serialized_trace)
|
38
32
|
|
39
|
-
Honeycomb.
|
33
|
+
Honeycomb.start_span(
|
34
|
+
name: "link",
|
40
35
|
'trace.link.trace_id': trace_id,
|
41
36
|
'trace.link.span_id': parent_span_id,
|
42
|
-
'meta.
|
37
|
+
'meta.annotation_type': "link",
|
43
38
|
'trace.parent_id': current.id,
|
44
39
|
'trace.trace_id': current.trace.id
|
45
40
|
).send
|
46
41
|
end
|
47
42
|
|
43
|
+
def child_span(name, serialized_trace, &block)
|
44
|
+
Honeycomb.start_span(name: name, serialized_trace: serialized_trace, &block)
|
45
|
+
end
|
46
|
+
|
47
|
+
def child_trace(name, serialized_trace, &block)
|
48
|
+
parent_trace_id, = TraceParser.parse(serialized_trace)
|
49
|
+
|
50
|
+
Honeycomb.start_span(name: name, 'parent.trace_id': parent_trace_id, &block)
|
51
|
+
end
|
52
|
+
|
48
53
|
if defined?(Honeycomb)
|
49
54
|
class TraceParser
|
50
55
|
extend Honeycomb::PropagationParser
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "sidekiq/api"
|
2
2
|
|
3
3
|
module Honeykiq
|
4
4
|
class PeriodicReporter
|
@@ -42,27 +42,27 @@ module Honeykiq
|
|
42
42
|
redis_info = fetch_redis_info
|
43
43
|
|
44
44
|
{
|
45
|
-
'redis.connections': redis_info[
|
46
|
-
'redis.memory_used': redis_info[
|
45
|
+
'redis.connections': redis_info["connected_clients"].to_i,
|
46
|
+
'redis.memory_used': redis_info["used_memory"].to_i
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
50
50
|
def fetch_redis_info
|
51
51
|
Sidekiq.redis do |redis|
|
52
|
-
redis.pipelined
|
52
|
+
redis.pipelined {
|
53
53
|
redis.info :clients
|
54
54
|
redis.info :memory
|
55
|
-
|
55
|
+
}.reduce(&:merge)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
59
|
def send_process_event(process, &extra)
|
60
60
|
libhoney.event.add(
|
61
61
|
type: :process,
|
62
|
-
'meta.dyno': process[
|
63
|
-
'meta.process_id': process[
|
64
|
-
'process.concurrency': process[
|
65
|
-
'process.busy': process[
|
62
|
+
'meta.dyno': process["hostname"],
|
63
|
+
'meta.process_id': process["pid"],
|
64
|
+
'process.concurrency': process["concurrency"],
|
65
|
+
'process.busy': process["busy"],
|
66
66
|
**(extra&.call(:process, process) || {})
|
67
67
|
).send
|
68
68
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "sidekiq/api"
|
2
2
|
|
3
3
|
module Honeykiq
|
4
4
|
class ServerMiddleware
|
@@ -8,10 +8,10 @@ module Honeykiq
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def call(_worker, msg, queue_name)
|
11
|
-
job = Sidekiq::
|
11
|
+
job = Sidekiq::JobRecord.new(msg, queue_name)
|
12
12
|
queue = Sidekiq::Queue.new(queue_name)
|
13
13
|
|
14
|
-
span_builder.call(name: job.display_class, serialized_trace: msg[
|
14
|
+
span_builder.call(name: job.display_class, serialized_trace: msg["serialized_trace"]) do |event|
|
15
15
|
call_with_event(event, job, queue) { yield }
|
16
16
|
end
|
17
17
|
end
|
@@ -35,8 +35,8 @@ module Honeykiq
|
|
35
35
|
def call_with_event(event, job, queue)
|
36
36
|
event.add(default_fields(job, queue))
|
37
37
|
yield
|
38
|
-
event.add_field(:'job.status',
|
39
|
-
rescue
|
38
|
+
event.add_field(:'job.status', "finished")
|
39
|
+
rescue => error
|
40
40
|
on_error(event, error)
|
41
41
|
raise
|
42
42
|
ensure
|
@@ -55,11 +55,11 @@ module Honeykiq
|
|
55
55
|
def job_fields(job)
|
56
56
|
{
|
57
57
|
'job.class': job.display_class,
|
58
|
-
'job.attempt_number': (job[
|
58
|
+
'job.attempt_number': (job["retry_count"].to_i.nonzero? || 0) + 1,
|
59
59
|
'job.id': job.jid,
|
60
60
|
'job.arguments_bytes': job.args.to_json.bytesize,
|
61
61
|
'job.latency_sec': job.latency,
|
62
|
-
'job.batch_id': job[
|
62
|
+
'job.batch_id': job["bid"]
|
63
63
|
}.compact
|
64
64
|
end
|
65
65
|
|
@@ -73,7 +73,7 @@ module Honeykiq
|
|
73
73
|
def on_error(event, error)
|
74
74
|
return unless event
|
75
75
|
|
76
|
-
event.add_field(:'job.status',
|
76
|
+
event.add_field(:'job.status', "failed")
|
77
77
|
return unless libhoney?
|
78
78
|
|
79
79
|
event.add(
|
data/lib/honeykiq/version.rb
CHANGED
data/lib/honeykiq.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Honeykiq
|
2
|
-
autoload :
|
3
|
-
autoload :PeriodicReporter,
|
4
|
-
autoload :ServerMiddleware,
|
5
|
-
autoload :ClientMiddleware,
|
6
|
-
autoload :BeelineSpan,
|
7
|
-
autoload :LibhoneySpan,
|
2
|
+
autoload :VERSION, "honeykiq/version"
|
3
|
+
autoload :PeriodicReporter, "honeykiq/periodic_reporter"
|
4
|
+
autoload :ServerMiddleware, "honeykiq/server_middleware"
|
5
|
+
autoload :ClientMiddleware, "honeykiq/client_middleware"
|
6
|
+
autoload :BeelineSpan, "honeykiq/beeline_span"
|
7
|
+
autoload :LibhoneySpan, "honeykiq/libhoney_span"
|
8
8
|
end
|
metadata
CHANGED
@@ -1,113 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeykiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- carwow Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 6.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: carwow_rubocop
|
28
|
+
name: honeycomb-beeline
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- - "
|
31
|
+
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '2.6'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - "
|
38
|
+
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
40
|
+
version: '2.6'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: pry
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- - "
|
45
|
+
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
47
|
+
version: '0.14'
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- - "
|
52
|
+
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
54
|
+
version: '0.14'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - "
|
59
|
+
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
61
|
+
version: '13.0'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - "
|
66
|
+
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
68
|
+
version: '13.0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: rspec
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- - "
|
73
|
+
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
75
|
+
version: '3.10'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- - "
|
80
|
+
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
82
|
+
version: '3.10'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
84
|
+
name: standard
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- - "
|
87
|
+
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
89
|
+
version: '0.13'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- - "
|
94
|
+
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
96
|
+
version: '0.13'
|
111
97
|
description: Send Sidekiq related events to Honeycomb.
|
112
98
|
email:
|
113
99
|
- developers@carwow.co.uk
|
@@ -118,11 +104,9 @@ files:
|
|
118
104
|
- ".circleci/config.yml"
|
119
105
|
- ".gitignore"
|
120
106
|
- ".rspec"
|
121
|
-
- ".rubocop.yml"
|
122
107
|
- CHANGELOG.md
|
123
108
|
- CODE_OF_CONDUCT.md
|
124
109
|
- Gemfile
|
125
|
-
- Gemfile.lock
|
126
110
|
- LICENSE.txt
|
127
111
|
- README.md
|
128
112
|
- Rakefile
|
@@ -154,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
138
|
- !ruby/object:Gem::Version
|
155
139
|
version: '0'
|
156
140
|
requirements: []
|
157
|
-
rubygems_version: 3.1.
|
141
|
+
rubygems_version: 3.1.4
|
158
142
|
signing_key:
|
159
143
|
specification_version: 4
|
160
144
|
summary: "Sidekiq → Honeycomb \U0001F41D"
|
data/.rubocop.yml
DELETED
data/Gemfile.lock
DELETED
@@ -1,106 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
honeykiq (1.3.0)
|
5
|
-
sidekiq
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
addressable (2.7.0)
|
11
|
-
public_suffix (>= 2.0.2, < 5.0)
|
12
|
-
ast (2.4.1)
|
13
|
-
carwow_rubocop (3.3.0)
|
14
|
-
rubocop (>= 0.78)
|
15
|
-
rubocop-performance
|
16
|
-
rubocop-rspec
|
17
|
-
coderay (1.1.3)
|
18
|
-
connection_pool (2.2.3)
|
19
|
-
diff-lcs (1.4.4)
|
20
|
-
domain_name (0.5.20190701)
|
21
|
-
unf (>= 0.0.5, < 1.0.0)
|
22
|
-
ffi (1.13.1)
|
23
|
-
ffi-compiler (1.0.1)
|
24
|
-
ffi (>= 1.0.0)
|
25
|
-
rake
|
26
|
-
honeycomb-beeline (2.1.1)
|
27
|
-
libhoney (~> 1.14, >= 1.14.2)
|
28
|
-
http (4.4.1)
|
29
|
-
addressable (~> 2.3)
|
30
|
-
http-cookie (~> 1.0)
|
31
|
-
http-form_data (~> 2.2)
|
32
|
-
http-parser (~> 1.2.0)
|
33
|
-
http-cookie (1.0.3)
|
34
|
-
domain_name (~> 0.5)
|
35
|
-
http-form_data (2.3.0)
|
36
|
-
http-parser (1.2.1)
|
37
|
-
ffi-compiler (>= 1.0, < 2.0)
|
38
|
-
libhoney (1.14.4)
|
39
|
-
addressable (~> 2.0)
|
40
|
-
http (>= 2.0, < 5.0)
|
41
|
-
method_source (1.0.0)
|
42
|
-
parallel (1.19.2)
|
43
|
-
parser (2.7.1.4)
|
44
|
-
ast (~> 2.4.1)
|
45
|
-
pry (0.13.1)
|
46
|
-
coderay (~> 1.1)
|
47
|
-
method_source (~> 1.0)
|
48
|
-
public_suffix (4.0.5)
|
49
|
-
rack (2.2.3)
|
50
|
-
rainbow (3.0.0)
|
51
|
-
rake (13.0.1)
|
52
|
-
redis (4.2.1)
|
53
|
-
regexp_parser (1.7.1)
|
54
|
-
rexml (3.2.4)
|
55
|
-
rspec (3.9.0)
|
56
|
-
rspec-core (~> 3.9.0)
|
57
|
-
rspec-expectations (~> 3.9.0)
|
58
|
-
rspec-mocks (~> 3.9.0)
|
59
|
-
rspec-core (3.9.2)
|
60
|
-
rspec-support (~> 3.9.3)
|
61
|
-
rspec-expectations (3.9.2)
|
62
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
63
|
-
rspec-support (~> 3.9.0)
|
64
|
-
rspec-mocks (3.9.1)
|
65
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.9.0)
|
67
|
-
rspec-support (3.9.3)
|
68
|
-
rubocop (0.88.0)
|
69
|
-
parallel (~> 1.10)
|
70
|
-
parser (>= 2.7.1.1)
|
71
|
-
rainbow (>= 2.2.2, < 4.0)
|
72
|
-
regexp_parser (>= 1.7)
|
73
|
-
rexml
|
74
|
-
rubocop-ast (>= 0.1.0, < 1.0)
|
75
|
-
ruby-progressbar (~> 1.7)
|
76
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
77
|
-
rubocop-ast (0.2.0)
|
78
|
-
parser (>= 2.7.0.1)
|
79
|
-
rubocop-performance (1.7.1)
|
80
|
-
rubocop (>= 0.82.0)
|
81
|
-
rubocop-rspec (1.42.0)
|
82
|
-
rubocop (>= 0.87.0)
|
83
|
-
ruby-progressbar (1.10.1)
|
84
|
-
sidekiq (6.1.1)
|
85
|
-
connection_pool (>= 2.2.2)
|
86
|
-
rack (~> 2.0)
|
87
|
-
redis (>= 4.2.0)
|
88
|
-
unf (0.1.4)
|
89
|
-
unf_ext
|
90
|
-
unf_ext (0.0.7.7)
|
91
|
-
unicode-display_width (1.7.0)
|
92
|
-
|
93
|
-
PLATFORMS
|
94
|
-
ruby
|
95
|
-
|
96
|
-
DEPENDENCIES
|
97
|
-
bundler
|
98
|
-
carwow_rubocop
|
99
|
-
honeycomb-beeline
|
100
|
-
honeykiq!
|
101
|
-
pry
|
102
|
-
rake
|
103
|
-
rspec
|
104
|
-
|
105
|
-
BUNDLED WITH
|
106
|
-
2.1.4
|