opentelemetry-instrumentation-delayed_job 0.20.1 → 0.22.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: c85b31efcc8b87762ccd753982503fadb14ebc27c48dc2793840c216a4997db0
4
- data.tar.gz: 06e2c6df94d795eeab8404453baf72b5fa46148efdae4fffe22ba08c07df0d89
3
+ metadata.gz: b2ab91bef0edbad5972cc66bcf46caa3827b677e02bff35488b6fefbb1a93358
4
+ data.tar.gz: 5c964be0f2d522a8b026a54e12c18f1e1bb494f1db788265b92bd4cc1c7f468f
5
5
  SHA512:
6
- metadata.gz: 15b893b80004bf910038534e81d9d4146da34228440cdb4e034dcb34343ee489f720b6e499206e47efb2006bb39a4c66170ceab171003fc3bfd5a73f29a3f562
7
- data.tar.gz: df5709e1864d2fc3ebd047bffbb1d1071d130ca830fd5a9450417fa0aedc9eb508c6063fccd98c45fa7a4d43e0da00a041b72a4fa4e91e801ba5867f7faaedb5
6
+ metadata.gz: 8afe27fb24500fe070a52a7529e0c10469b774b33c56e99976b0884906567b4119f750b194e4b89cdc5ac7c4f7fd4085097d3150c4e89231f6040aa1a9366012
7
+ data.tar.gz: 2143f25baca7cab3c8b9cd42d5b92a5547d0f9bd683aac19872289c8ead34111a9b576775a818d57b9e77fa7ffbbf0d0e9ef28ce22155154bda4d1254f7d49c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History: opentelemetry-instrumentation-delayed_job
2
2
 
3
+ ### v0.22.0 / 2023-10-16
4
+
5
+ * BREAKING CHANGE: Drop DelayedJob ActiveRecord in Tests
6
+
7
+ * FIXED: Drop DelayedJob ActiveRecord in Tests
8
+
9
+ ### v0.21.0 / 2023-09-07
10
+
11
+ * FIXED: Align messaging instrumentation operation names
12
+
3
13
  ### v0.20.1 / 2023-06-05
4
14
 
5
15
  * FIXED: Base config options
@@ -17,10 +17,10 @@ module OpenTelemetry
17
17
  return block.call(job) unless enabled?
18
18
 
19
19
  attributes = build_attributes(job)
20
- attributes['messaging.operation'] = 'send'
20
+ attributes['messaging.operation'] = 'publish'
21
21
  attributes.compact!
22
22
 
23
- tracer.in_span("#{job_queue(job)} send", attributes: attributes, kind: :producer) do |span|
23
+ tracer.in_span("#{job_queue(job)} publish", attributes: attributes, kind: :producer) do |span|
24
24
  yield job
25
25
  span.set_attribute('messaging.message_id', job.id.to_s)
26
26
  add_events(span, job)
@@ -56,7 +56,6 @@ module OpenTelemetry
56
56
  end
57
57
 
58
58
  def add_events(span, job)
59
- span.add_event('created_at', timestamp: job.created_at)
60
59
  span.add_event('run_at', timestamp: job.run_at) if job.run_at
61
60
  span.add_event('locked_at', timestamp: job.locked_at) if job.locked_at
62
61
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module DelayedJob
10
- VERSION = '0.20.1'
10
+ VERSION = '0.22.0'
11
11
  end
12
12
  end
13
13
  end
@@ -15,5 +15,5 @@ module OpenTelemetry
15
15
  end
16
16
  end
17
17
 
18
- require_relative './delayed_job/instrumentation'
19
- require_relative './delayed_job/version'
18
+ require_relative 'delayed_job/instrumentation'
19
+ require_relative 'delayed_job/version'
@@ -19,4 +19,4 @@ module OpenTelemetry
19
19
  end
20
20
  end
21
21
 
22
- require_relative './instrumentation/delayed_job'
22
+ require_relative 'instrumentation/delayed_job'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
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.20.1
4
+ version: 0.22.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: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: '2.5'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 4.1.0
75
+ version: 4.1.7
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 4.1.0
83
- - !ruby/object:Gem::Dependency
84
- name: delayed_job_active_record
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
82
+ version: 4.1.7
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: minitest
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +142,14 @@ dependencies:
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 1.50.2
145
+ version: 1.56.1
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: 1.50.2
152
+ version: 1.56.1
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: simplecov
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +184,14 @@ dependencies:
198
184
  requirements:
199
185
  - - "~>"
200
186
  - !ruby/object:Gem::Version
201
- version: 3.7.6
187
+ version: '3.19'
202
188
  type: :development
203
189
  prerelease: false
204
190
  version_requirements: !ruby/object:Gem::Requirement
205
191
  requirements:
206
192
  - - "~>"
207
193
  - !ruby/object:Gem::Version
208
- version: 3.7.6
194
+ version: '3.19'
209
195
  - !ruby/object:Gem::Dependency
210
196
  name: yard
211
197
  requirement: !ruby/object:Gem::Requirement
@@ -220,20 +206,6 @@ dependencies:
220
206
  - - "~>"
221
207
  - !ruby/object:Gem::Version
222
208
  version: '0.9'
223
- - !ruby/object:Gem::Dependency
224
- name: yard-doctest
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - "~>"
228
- - !ruby/object:Gem::Version
229
- version: 0.1.6
230
- type: :development
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - "~>"
235
- - !ruby/object:Gem::Version
236
- version: 0.1.6
237
209
  description: Delayed Job instrumentation for the OpenTelemetry framework
238
210
  email:
239
211
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -255,10 +227,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
255
227
  licenses:
256
228
  - Apache-2.0
257
229
  metadata:
258
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.20.1/file/CHANGELOG.md
230
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.22.0/file/CHANGELOG.md
259
231
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/delayed_job
260
232
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
261
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.20.1
233
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.22.0
262
234
  post_install_message:
263
235
  rdoc_options: []
264
236
  require_paths: