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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cecf66095101db580b555aca5d0b5e676d4243eff26ab2fa5caa9ccf95adf97a
4
- data.tar.gz: 04cc1d30fafe7fccdf62f077de7a478088e08439b0aeee6a3c4c137870fe741d
3
+ metadata.gz: e67b5802b7c545350355cef7c8634d180465192177e77ba594be10d762f3cf02
4
+ data.tar.gz: 784e21a23cad940d0864016b57fe778ce1f4fb601fce509bf72c6473d784a731
5
5
  SHA512:
6
- metadata.gz: b23e8a10fdc308f79a06f244c021e95cb1176cf29e9d5b6ef4734460e3490ba16913fb72502c04e5e24f52fa0db57b0d00245bdb111b39689d44794a2d4f0fe7
7
- data.tar.gz: 1c3add96bd71e12e30664ffe4607fb32df3695e4d2d408f039a3ab20c145847763fdb530022bfe9969b00eab41d62d1f3dfb2c4cca98503e7f32c98d46ddb06b
6
+ metadata.gz: 412e4bff2349ed8e43393bfb983e9b41e3ff50e9070661fb7b249ba90154cc89a55ca29fc7561e96ad552bcc51a795dfa2261b9890ced02db2058d736202eda5
7
+ data.tar.gz: 9ae906ab0520ec4255c35aa20e1ede629c6ddf22f0d5907d5fde85ed09c5d517b2198d29db19754ddc78eeb164e2260a5a436bc675bbb3939fa8f8de556bd5ee
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-delayed_job
2
2
 
3
+ ### v0.13.0 / 2021-01-29
4
+
5
+ * (No significant changes)
6
+
3
7
  ### v0.12.0 / 2020-12-24
4
8
 
5
9
  * (No significant changes)
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/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
 
@@ -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
53
  [ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
@@ -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.13.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.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: 2020-12-24 00:00:00.000000000 Z
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.12.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.12.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.12.0/file.CHANGELOG.html
231
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/delayed_job
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.12.0
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: