opentelemetry-instrumentation-delayed_job 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/opentelemetry/instrumentation/delayed_job/instrumentation.rb +5 -1
- data/lib/opentelemetry/instrumentation/delayed_job/plugins/tracer_plugin.rb +2 -2
- data/lib/opentelemetry/instrumentation/delayed_job/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e67b5802b7c545350355cef7c8634d180465192177e77ba594be10d762f3cf02
|
4
|
+
data.tar.gz: 784e21a23cad940d0864016b57fe778ce1f4fb601fce509bf72c6473d784a731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412e4bff2349ed8e43393bfb983e9b41e3ff50e9070661fb7b249ba90154cc89a55ca29fc7561e96ad552bcc51a795dfa2261b9890ced02db2058d736202eda5
|
7
|
+
data.tar.gz: 9ae906ab0520ec4255c35aa20e1ede629c6ddf22f0d5907d5fde85ed09c5d517b2198d29db19754ddc78eeb164e2260a5a436bc675bbb3939fa8f8de556bd5ee
|
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/
|
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)
|
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/
|
50
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/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
|
[ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
|
@@ -20,7 +20,7 @@ module OpenTelemetry
|
|
20
20
|
attributes['messaging.operation'] = 'send'
|
21
21
|
tracer.in_span("#{job_queue(job)} send", attributes: attributes, kind: :producer) do |span|
|
22
22
|
yield job
|
23
|
-
span.set_attribute('messaging.message_id', job.id)
|
23
|
+
span.set_attribute('messaging.message_id', job.id.to_s)
|
24
24
|
add_events(span, job)
|
25
25
|
end
|
26
26
|
end
|
@@ -32,7 +32,7 @@ module OpenTelemetry
|
|
32
32
|
attributes['messaging.delayed_job.attempts'] = job.attempts if job.attempts
|
33
33
|
attributes['messaging.delayed_job.locked_by'] = job.locked_by if job.locked_by
|
34
34
|
attributes['messaging.operation'] = 'process'
|
35
|
-
attributes['messaging.message_id'] = job.id
|
35
|
+
attributes['messaging.message_id'] = job.id.to_s
|
36
36
|
tracer.in_span("#{job_queue(job)} process", attributes: attributes, kind: :consumer) do |span|
|
37
37
|
add_events(span, job)
|
38
38
|
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.
|
4
|
+
version: 0.13.0
|
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: 2021-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.13.0
|
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: 0.
|
26
|
+
version: 0.13.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,10 +227,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
227
227
|
licenses:
|
228
228
|
- Apache-2.0
|
229
229
|
metadata:
|
230
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.
|
231
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/
|
230
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.13.0/file.CHANGELOG.html
|
231
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/delayed_job
|
232
232
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
233
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.
|
233
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.13.0
|
234
234
|
post_install_message:
|
235
235
|
rdoc_options: []
|
236
236
|
require_paths:
|