opentelemetry-instrumentation-delayed_job 0.11.0 → 0.16.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: 9996277f39b21840f5e8e6cf53bde93c15d271825830e0e8a39d5753868867e7
4
- data.tar.gz: 1907f13afe3de85fbafffa4ffbe9be5eaccfc29d47597791d3ab68503339731c
3
+ metadata.gz: 9f785d3ad472d9c9c0acd152d7e71af55c1e1fcdf9f2d5c310e5e71a4bbc8175
4
+ data.tar.gz: 10be00006d38cb5d2dcc92b3f8efd1fec444ea2ba07e9ef326cc9c76e86be771
5
5
  SHA512:
6
- metadata.gz: 200aab41a276b84c729c55872cbbe787a9fec4b976cbcfd50756ac67c9c86a3f049f70ccd051fe3763eb42e8a3abda80a914d0fc3be0029f82c51ec46d103497
7
- data.tar.gz: 335c298edff3de6a873e987941299a0eff5bc7dbba7c6aebd9e0cafa5deac7b2284602dbee5d34c2104901e27a102bccfef8799a6ccf1af8cf608f9f9b8ac628
6
+ metadata.gz: bc4393ccc049de860d4f32cbb69901f07d49253e178a317c41701ee0f063c71813e61c80318cfb6d888b8f09c38d4bd10746b41234d47952616852e5f8533a8a
7
+ data.tar.gz: 23f09f322d5249f000cc679742902e0a8be2b95d74da400b18091872ce50e212f317c871921dac0f57e8e62bd52aba3718e4c6f59c09345edf8c3613e215c50d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release History: opentelemetry-instrumentation-delayed_job
2
2
 
3
+ ### v0.16.0 / 2021-03-17
4
+
5
+ * FIXED: Example scripts now reference local common lib
6
+ * DOCS: Replace Gitter with GitHub Discussions
7
+
8
+ ### v0.15.0 / 2021-02-18
9
+
10
+ * (No significant changes)
11
+
12
+ ### v0.14.0 / 2021-02-03
13
+
14
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
15
+
16
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
17
+
18
+ ### v0.13.0 / 2021-01-29
19
+
20
+ * FIXED: Coerce message ID to string in span payload
21
+
22
+ ### v0.12.0 / 2020-12-24
23
+
24
+ * (No significant changes)
25
+
3
26
  ### v0.11.0 / 2020-12-11
4
27
 
5
28
  * FIXED: Copyright comments to not reference year
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
@@ -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.11.0'
10
+ VERSION = '0.16.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.11.0
4
+ version: 0.16.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-11 00:00:00.000000000 Z
11
+ date: 2021-03-22 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.11.0
19
+ version: 0.16.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.11.0
26
+ version: 0.16.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.11.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.16.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.11.0
233
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.16.0
234
234
  post_install_message:
235
235
  rdoc_options: []
236
236
  require_paths: