opentelemetry-instrumentation-delayed_job 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 395227abf093a3612cc2477441fb8fa54cd1abf83d413578180da6bcccae4aec
|
4
|
+
data.tar.gz: 8a88eff025071f4111fdf7d7d05f53a3752ed18fd8edeb8448fec34753b65d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36f346d8b78a3124b18b5a3d4053f5e1bb275b6cf22515d0011f0f338402a6304a64e02ba38090e94365d71264e0a71c0bcbe04fbc763bab0e75c81444c39e51
|
7
|
+
data.tar.gz: aaf405f5c38fa2bf7387e327dd7506a31a77c3d1fc17c0bd88e7944e84b8b66cba958cf37cabb85ad314c6226f75749f65929cba4f5a595ab6fb228f5842ec0a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -32,7 +32,7 @@ end
|
|
32
32
|
|
33
33
|
## Examples
|
34
34
|
|
35
|
-
Example usage of delayed_job can be seen in the `./example/delayed_job.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/delayed_job/example/delayed_job.rb)
|
35
|
+
Example usage of delayed_job can be seen in the `./example/delayed_job.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/delayed_job/example/delayed_job.rb)
|
36
36
|
|
37
37
|
## How can I get involved?
|
38
38
|
|
@@ -47,7 +47,7 @@ Apache 2.0 license. See [LICENSE][license-github] for more information.
|
|
47
47
|
[delayedjob-home]: https://github.com/collectiveidea/delayed_job
|
48
48
|
[bundler-home]: https://bundler.io
|
49
49
|
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
50
|
-
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
|
50
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
51
51
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
52
52
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
53
53
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -18,6 +18,8 @@ module OpenTelemetry
|
|
18
18
|
|
19
19
|
attributes = build_attributes(job)
|
20
20
|
attributes['messaging.operation'] = 'send'
|
21
|
+
attributes.compact!
|
22
|
+
|
21
23
|
tracer.in_span("#{job_queue(job)} send", attributes: attributes, kind: :producer) do |span|
|
22
24
|
yield job
|
23
25
|
span.set_attribute('messaging.message_id', job.id.to_s)
|
@@ -33,6 +35,8 @@ module OpenTelemetry
|
|
33
35
|
attributes['messaging.delayed_job.locked_by'] = job.locked_by if job.locked_by
|
34
36
|
attributes['messaging.operation'] = 'process'
|
35
37
|
attributes['messaging.message_id'] = job.id.to_s
|
38
|
+
attributes.compact!
|
39
|
+
|
36
40
|
tracer.in_span("#{job_queue(job)} process", attributes: attributes, kind: :consumer) do |span|
|
37
41
|
add_events(span, job)
|
38
42
|
yield job
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-delayed_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '2.4'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '2.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: delayed_job
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 1.41.1
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 1.41.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,14 +251,14 @@ files:
|
|
251
251
|
- lib/opentelemetry/instrumentation/delayed_job/instrumentation.rb
|
252
252
|
- lib/opentelemetry/instrumentation/delayed_job/plugins/tracer_plugin.rb
|
253
253
|
- lib/opentelemetry/instrumentation/delayed_job/version.rb
|
254
|
-
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
254
|
+
homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
255
255
|
licenses:
|
256
256
|
- Apache-2.0
|
257
257
|
metadata:
|
258
|
-
changelog_uri: https://
|
259
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/delayed_job
|
260
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
261
|
-
documentation_uri: https://
|
258
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.19.1/file/CHANGELOG.md
|
259
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/delayed_job
|
260
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
261
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.19.1
|
262
262
|
post_install_message:
|
263
263
|
rdoc_options: []
|
264
264
|
require_paths:
|