opentelemetry-instrumentation-que 0.6.2 → 0.7.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: 507bd603a8e7ada0c86e404ba48f81fe47bed3c85d4aa3fb525e0e338378379e
4
- data.tar.gz: d655568f225942eff78b60e9887abcc488eb222ec83cc1f3242b8bb7da5b0045
3
+ metadata.gz: b2bbbba5e64be2adb78788b8b170b8ac9c62f8f67a191d8bf6e3e1e5748f7804
4
+ data.tar.gz: 0db850fef370111e2a2bd9dc3ab8e9c1f7f147d35404f80dbdd5a6eab6167777
5
5
  SHA512:
6
- metadata.gz: 2035f012d42502683a292a70401992598653c086b0f63f3aa1f0fec9ca7354a0a4b9eb7595d7a31f39a7dbcad46c9f7993c13a1a8bbba66b05d22248b93596ff
7
- data.tar.gz: a78c70912e558064700b52322bba995b2d4863ebe74f6966c07c7809c484ee7e867d1c7ed1dea25cdc041325f757f93f7bc1032b94f4a06de43f38370abd30d1
6
+ metadata.gz: 1a84213f2bddd3cf9737d47b7595c5e227f6fb574d2e64b6d29555b51257ed7955393ba3933c8c3a29d85c0cf877106e3b290657eef4dbf450befefc7eb7830d
7
+ data.tar.gz: 67e09a8daab3bf1bc4654404d83f56e57681c78b56bca85e27ce656719916dfbbe76ccddbcf65849956e87d3aff89c2deb8259472464fa10f9cee34386cae660
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-que
2
2
 
3
+ ### v0.7.0 / 2023-09-07
4
+
5
+ * FIXED: Align messaging instrumentation operation names
6
+
3
7
  ### v0.6.2 / 2023-08-07
4
8
 
5
9
  * FIXED: Correctly set bulk_enqueue job options
@@ -22,7 +22,7 @@ module OpenTelemetry
22
22
  tracer = Que::Instrumentation.instance.tracer
23
23
  otel_config = Que::Instrumentation.instance.config
24
24
 
25
- tracer.in_span('send', kind: :producer) do |span|
25
+ tracer.in_span('publish', kind: :producer) do |span|
26
26
  # Que doesn't have a good place to store metadata. There are
27
27
  # basically two options: the job payload and the job tags.
28
28
  #
@@ -57,7 +57,7 @@ module OpenTelemetry
57
57
  job_attrs = job.que_attrs
58
58
  end
59
59
 
60
- span.name = "#{job_attrs[:job_class]} send"
60
+ span.name = "#{job_attrs[:job_class]} publish"
61
61
  span.add_attributes(QueJob.job_attributes(job_attrs))
62
62
 
63
63
  job
@@ -73,7 +73,7 @@ module OpenTelemetry
73
73
  attributes = {
74
74
  'messaging.system' => 'que',
75
75
  'messaging.destination_kind' => 'queue',
76
- 'messaging.operation' => 'send',
76
+ 'messaging.operation' => 'publish',
77
77
  'messaging.destination' => job_attrs[:queue] || 'default',
78
78
  'messaging.que.job_class' => job_attrs[:job_class],
79
79
  'messaging.que.priority' => job_attrs[:priority] || 100
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Que
10
- VERSION = '0.6.2'
10
+ VERSION = '0.7.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-que
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.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-08-07 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
@@ -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
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 1.55.1
187
+ version: 1.56.1
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: 1.55.1
194
+ version: 1.56.1
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -220,20 +220,6 @@ dependencies:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
222
  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
223
  description: Que instrumentation for the OpenTelemetry framework
238
224
  email:
239
225
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -258,10 +244,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
258
244
  licenses:
259
245
  - Apache-2.0
260
246
  metadata:
261
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.6.2/file/CHANGELOG.md
247
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.7.0/file/CHANGELOG.md
262
248
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/que
263
249
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
264
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.6.2
250
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-que/0.7.0
265
251
  post_install_message:
266
252
  rdoc_options: []
267
253
  require_paths: