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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cecf66095101db580b555aca5d0b5e676d4243eff26ab2fa5caa9ccf95adf97a
4
- data.tar.gz: 04cc1d30fafe7fccdf62f077de7a478088e08439b0aeee6a3c4c137870fe741d
3
+ metadata.gz: 2f87c2ad17f975062fad007f3afafdbfda058f4e669f9f5f4b878d947718d201
4
+ data.tar.gz: 95049248e68c259d5a9eea7999a8d4a61085a9702d307acc088594be6631f0cb
5
5
  SHA512:
6
- metadata.gz: b23e8a10fdc308f79a06f244c021e95cb1176cf29e9d5b6ef4734460e3490ba16913fb72502c04e5e24f52fa0db57b0d00245bdb111b39689d44794a2d4f0fe7
7
- data.tar.gz: 1c3add96bd71e12e30664ffe4607fb32df3695e4d2d408f039a3ab20c145847763fdb530022bfe9969b00eab41d62d1f3dfb2c4cca98503e7f32c98d46ddb06b
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/master/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/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 on our [gitter channel][ruby-gitter] 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].
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/master/LICENSE
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
- [ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
53
+ [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -5,6 +5,7 @@
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
7
  require 'opentelemetry'
8
+ require 'opentelemetry-instrumentation-base'
8
9
 
9
10
  module OpenTelemetry
10
11
  module Instrumentation
@@ -17,7 +17,11 @@ module OpenTelemetry
17
17
  end
18
18
 
19
19
  present do
20
- !defined?(::Delayed).nil? && gem_version >= MINIMUM_VERSION
20
+ !defined?(::Delayed).nil?
21
+ end
22
+
23
+ compatible do
24
+ gem_version >= MINIMUM_VERSION
21
25
  end
22
26
 
23
27
  private
@@ -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
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module DelayedJob
10
- VERSION = '0.12.0'
10
+ VERSION = '0.17.0'
11
11
  end
12
12
  end
13
13
  end
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.12.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: 2020-12-24 00:00:00.000000000 Z
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.12.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.12.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.12.0/file.CHANGELOG.html
231
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/delayed_job
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.12.0
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.4
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