opentelemetry-instrumentation-delayed_job 0.12.0 → 0.17.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 +23 -0
- data/README.md +4 -4
- data/lib/opentelemetry/instrumentation/delayed_job.rb +1 -0
- 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 +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f87c2ad17f975062fad007f3afafdbfda058f4e669f9f5f4b878d947718d201
|
4
|
+
data.tar.gz: 95049248e68c259d5a9eea7999a8d4a61085a9702d307acc088594be6631f0cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcd398f566f4e325d4c0e5d5bfedb4086568cb61055453d2cc9a97184062db9cefe1dede26e1cad4fc1a91f216ac3e381ab0f600728f9899c7b6e28f93d46323
|
7
|
+
data.tar.gz: 024af357b14fcdb3d77f504900156ff815b722a458ab71f9c419393d384e85e8e0c4a06c61072f13e8d574d6f790b5c5cacbbc1b32a453dd4dd775c281ccc082
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-delayed_job
|
2
2
|
|
3
|
+
### v0.17.0 / 2021-04-22
|
4
|
+
|
5
|
+
* FIXED: Refactor propagators to add #fields
|
6
|
+
|
7
|
+
### v0.16.0 / 2021-03-17
|
8
|
+
|
9
|
+
* FIXED: Example scripts now reference local common lib
|
10
|
+
* DOCS: Replace Gitter with GitHub Discussions
|
11
|
+
|
12
|
+
### v0.15.0 / 2021-02-18
|
13
|
+
|
14
|
+
* (No significant changes)
|
15
|
+
|
16
|
+
### v0.14.0 / 2021-02-03
|
17
|
+
|
18
|
+
* BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
|
19
|
+
|
20
|
+
* ADDED: Replace getter and setter callables and remove rack specific propagators
|
21
|
+
|
22
|
+
### v0.13.0 / 2021-01-29
|
23
|
+
|
24
|
+
* FIXED: Coerce message ID to string in span payload
|
25
|
+
|
3
26
|
### v0.12.0 / 2020-12-24
|
4
27
|
|
5
28
|
* (No significant changes)
|
data/README.md
CHANGED
@@ -32,13 +32,13 @@ 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
|
|
39
39
|
The `opentelemetry-instrumentation-delayed_job` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
|
40
40
|
|
41
|
-
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us
|
41
|
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
|
42
42
|
|
43
43
|
## License
|
44
44
|
|
@@ -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
|
+
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -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.17.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-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.17.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.17.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: opentelemetry-instrumentation-base
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.17.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.17.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: appraisal
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,10 +241,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
227
241
|
licenses:
|
228
242
|
- Apache-2.0
|
229
243
|
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/
|
244
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.17.0/file.CHANGELOG.html
|
245
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/delayed_job
|
232
246
|
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.
|
247
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.17.0
|
234
248
|
post_install_message:
|
235
249
|
rdoc_options: []
|
236
250
|
require_paths:
|
@@ -246,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
260
|
- !ruby/object:Gem::Version
|
247
261
|
version: '0'
|
248
262
|
requirements: []
|
249
|
-
rubygems_version: 3.1.
|
263
|
+
rubygems_version: 3.1.6
|
250
264
|
signing_key:
|
251
265
|
specification_version: 4
|
252
266
|
summary: Delayed Job instrumentation for the OpenTelemetry framework
|