opentelemetry-instrumentation-resque 0.4.1 → 0.5.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: 746b7a4e96c5fd50366102226381d61002b6a3ead260a20fd4e914753c6c47f4
4
- data.tar.gz: e04f3c654a08fbcf38b8f9b0bf51dfd31ab2308ec6d6b743877a1850f9e9db18
3
+ metadata.gz: 7e6fb49eb3be763274583ec56559628984788f0ad375e9ea8e918e69e067ca69
4
+ data.tar.gz: dcf359e2db4a9f41db8d16143bc547c3fd7ff8269255d8d7648d74d1a22e7427
5
5
  SHA512:
6
- metadata.gz: 972fcff396d70a3f204858ec12137d9235e87490d3a4b5768c47885e660b0ccf77ae47cd543c1584eb04f6e4ab42cdc67c085ba83f04b4ecf88e206ebc317112
7
- data.tar.gz: 30609d820c45d2e1cde550f5be22e943df55a0b67cca5fa2765e8b43dd3d59bedd27a31118f481212795cf155d7fc539b3a56e6e15c84de8b91c6a874616d9b2
6
+ metadata.gz: 3d8c6e47e905da28d8a3dd72a4e24809b6a56e4179dda1576ab92c31dc04b6cda3d3c568def04215a2d35e372275e9a0ddb4ca6eb858439bb8c9d6fac5e20284
7
+ data.tar.gz: a8a38299b1c33465e41683914eae9814ca68e26c34437ca411b894f4d270ff3d5f7db05f642cc81fddf1a4f68d59a98877401101f855440dddc00e32639468bc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-resque
2
2
 
3
+ ### v0.5.0 / 2023-09-07
4
+
5
+ * FIXED: Align messaging instrumentation operation names
6
+
7
+ ### v0.4.2 / 2023-08-03
8
+
9
+ * FIXED: Remove inline linter rules
10
+
3
11
  ### v0.4.1 / 2023-06-05
4
12
 
5
13
  * FIXED: Base config options
@@ -10,7 +10,7 @@ module OpenTelemetry
10
10
  module Patches
11
11
  # Module to prepend to Resque::Job for instrumentation
12
12
  module ResqueJob
13
- def perform # rubocop:disable Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
13
+ def perform
14
14
  job_args = args || []
15
15
 
16
16
  # Check if the job is being wrapped by ActiveJob
@@ -35,8 +35,8 @@ module OpenTelemetry
35
35
  }
36
36
 
37
37
  span_name = case config[:span_naming]
38
- when :job_class then "#{job_class} send"
39
- else "#{queue} send"
38
+ when :job_class then "#{job_class} publish"
39
+ else "#{queue} publish"
40
40
  end
41
41
 
42
42
  tracer.in_span(span_name, attributes: attributes, kind: :producer) do
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Resque
10
- VERSION = '0.4.1'
10
+ VERSION = '0.5.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 './resque/instrumentation'
19
- require_relative './resque/version'
18
+ require_relative 'resque/instrumentation'
19
+ require_relative 'resque/version'
@@ -16,4 +16,4 @@ module OpenTelemetry
16
16
  end
17
17
  end
18
18
 
19
- require_relative './instrumentation/resque'
19
+ require_relative 'instrumentation/resque'
@@ -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-resque
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.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-09-07 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
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.50.2
145
+ version: 1.56.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.50.2
152
+ version: 1.56.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -192,20 +192,6 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.9'
195
- - !ruby/object:Gem::Dependency
196
- name: yard-doctest
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: 0.1.6
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: 0.1.6
209
195
  description: Resque instrumentation for the OpenTelemetry framework
210
196
  email:
211
197
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -228,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
228
214
  licenses:
229
215
  - Apache-2.0
230
216
  metadata:
231
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-resque/0.4.1/file/CHANGELOG.md
217
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-resque/0.5.0/file/CHANGELOG.md
232
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/resque
233
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
234
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-resque/0.4.1
220
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-resque/0.5.0
235
221
  post_install_message:
236
222
  rdoc_options: []
237
223
  require_paths: