opentelemetry-instrumentation-delayed_job 0.9.0 → 0.14.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: c6fdd8fbb8f6ee794706fb6a8b94b814fdaedf406c0ccc1b986d626df2130c52
4
- data.tar.gz: 0f56c49ab8970d6b8912da8db4ec416ce7122389344da8b77723f2938c4de3a7
3
+ metadata.gz: e31b5bb8f8e7caf925678cd8f6a11e45bb8a4053c63c6dc328b698f99159a596
4
+ data.tar.gz: c215a83742269af51db0867dbd3bcf4ff84a37c7ef9a5f4f1ae35f13c81c7b1d
5
5
  SHA512:
6
- metadata.gz: b5baab29a501815a6fa1907fb87e38d97884de04873fbb04b0ffe8c2a5eddb278c895c921a04a06e57e434923576f5a49600ef7025baed7f341fe80e5e4a3f1b
7
- data.tar.gz: 84048bae6d27608b9c802127bccaaa87e59bf0497aa215ca1ce87ed8da6b91bdd116b247f7a29fb41107bff63120556a01ffe782f0d520c3b0e66c251c2fdf40
6
+ metadata.gz: '08db79bda29fce78616a18318f6e7a754f7f32a51464a98b4b44ba620c31719b698466c7e7e52adae2ea517d4fe010240d58abd6c8674e59a1ea07c60d274ac0'
7
+ data.tar.gz: ca4a37f72442d82a0da51c8d4a070931b7cd9b86e5419a9ea921941064fd2961cecb3f4087347fe46582f89a8cf06cfc24027d960fa112561b1c3e46ccfb84d9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release History: opentelemetry-instrumentation-delayed_job
2
2
 
3
+ ### v0.14.0 / 2021-02-03
4
+
5
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
6
+
7
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
8
+
9
+ ### v0.13.0 / 2021-01-29
10
+
11
+ * FIXED: Coerce message ID to string in span payload
12
+
13
+ ### v0.12.0 / 2020-12-24
14
+
15
+ * (No significant changes)
16
+
17
+ ### v0.11.0 / 2020-12-11
18
+
19
+ * FIXED: Copyright comments to not reference year
20
+
21
+ ### v0.10.0 / 2020-12-03
22
+
23
+ * (No significant changes)
24
+
3
25
  ### v0.9.0 / 2020-10-07
4
26
 
5
27
  * Initial release of Delayed Job instrumentation (ported from Datadog)
data/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2020 OpenTelemetry Authors
189
+ Copyright The OpenTelemetry Authors
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
@@ -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
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2019 OpenTelemetry Authors
3
+ # Copyright The OpenTelemetry Authors
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module DelayedJob
10
- VERSION = '0.9.0'
10
+ VERSION = '0.14.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.9.0
4
+ version: 0.14.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-11-28 00:00:00.000000000 Z
11
+ date: 2021-02-03 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.9.0
19
+ version: 0.14.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.9.0
26
+ version: 0.14.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.9.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.14.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.9.0
233
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.14.0
234
234
  post_install_message:
235
235
  rdoc_options: []
236
236
  require_paths: