opentelemetry-instrumentation-active_job 0.5.2 → 0.6.1

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: e99cf4d61a646c1992deec6848d4fcaa5161d5698227807662204bfdfdb73c61
4
- data.tar.gz: e27ebef92d315c87c8b1e9347ef5682c103ef455089f07643dd176c8cee62229
3
+ metadata.gz: 9883ad6f02901443d677d0b85537cd4091a4a423409ae6a4e341da2ac272309b
4
+ data.tar.gz: bdff117ee07172051d7c46b8419732c0ea8cef8e4117417eed7cb8b9155f8435
5
5
  SHA512:
6
- metadata.gz: a397c386a89c5e6f287effa7de1e3978d1d413a7d5455f47358c846630fa504fb324e95ea7ad8204db7145b966db34b57e4ddd7f5d620ff02dcd00eca47539c7
7
- data.tar.gz: 554ed55ab0cba6842c723652b043752ab7700d1158c37e25d545af442d54c87ad184708fcac40571fa539ce18605ffec6c63222bc8770a44c989c1f339f6cd50
6
+ metadata.gz: 0ce37abfec5100fc8a231d5efb96d92b3ab38aae81c54cb1e60f851b5068ca481c4685e3dcee11e41c6161f7d4154da707815559445f0ccd0310b81a413cc688
7
+ data.tar.gz: a1c6f5bcdaee79d0800e9abb098c4ea97a5db49ec745a503cb30d83341b2a2b259f0ac36bc6771ea8ffb5bed415dfa2e9d906769f45beef8e2ff26e4d10cdbc9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-active_job
2
2
 
3
+ ### v0.6.1 / 2023-10-16
4
+
5
+ * FIXED: Add Rails 7.1 compatibility
6
+
7
+ ### v0.6.0 / 2023-09-07
8
+
9
+ * FIXED: Align messaging instrumentation operation names
10
+
3
11
  ### v0.5.2 / 2023-08-03
4
12
 
5
13
  * FIXED: Add code semconv attributes
@@ -14,7 +14,7 @@ module OpenTelemetry
14
14
  base.class_eval do
15
15
  around_enqueue do |job, block|
16
16
  span_kind = job.class.queue_adapter_name == 'inline' ? :client : :producer
17
- span_name = "#{otel_config[:span_naming] == :job_class ? job.class : job.queue_name} send"
17
+ span_name = "#{otel_config[:span_naming] == :job_class ? job.class : job.queue_name} publish"
18
18
  span_attributes = job_attributes(job)
19
19
  otel_tracer.in_span(span_name, attributes: span_attributes, kind: span_kind) do
20
20
  OpenTelemetry.propagation.inject(job.metadata)
@@ -73,7 +73,7 @@ module OpenTelemetry
73
73
  'messaging.destination' => job.queue_name,
74
74
  'messaging.message_id' => job.job_id,
75
75
  'messaging.active_job.provider_job_id' => job.provider_job_id,
76
- 'messaging.active_job.scheduled_at' => job.scheduled_at,
76
+ 'messaging.active_job.scheduled_at' => job.scheduled_at&.to_f,
77
77
  'messaging.active_job.priority' => job.priority
78
78
  }
79
79
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module ActiveJob
10
- VERSION = '0.5.2'
10
+ VERSION = '0.6.1'
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-active_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.1
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-08-03 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
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.2.0
61
+ version: '2.5'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.2.0
68
+ version: '2.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.55.1
159
+ version: 1.56.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.55.1
166
+ version: 1.56.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 3.7.6
187
+ version: '3.19'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 3.7.6
194
+ version: '3.19'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: yard
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -206,20 +206,6 @@ dependencies:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0.9'
209
- - !ruby/object:Gem::Dependency
210
- name: yard-doctest
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "~>"
214
- - !ruby/object:Gem::Version
215
- version: 0.1.6
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: 0.1.6
223
209
  description: ActiveJob instrumentation for the OpenTelemetry framework
224
210
  email:
225
211
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -242,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
242
228
  licenses:
243
229
  - Apache-2.0
244
230
  metadata:
245
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.5.2/file/CHANGELOG.md
231
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.6.1/file/CHANGELOG.md
246
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_job
247
233
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
248
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.5.2
234
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_job/0.6.1
249
235
  post_install_message:
250
236
  rdoc_options: []
251
237
  require_paths: