opentelemetry-instrumentation-delayed_job 0.18.5 → 0.19.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: 4df0b0e9695b1a5b890275698769e68b010e7b8a4f3dfb135e1938ddaf910311
4
- data.tar.gz: 345a19eee0a1d62f00a63e72832fe9393f27a4ffde1c86aa0748b42eee2c7615
3
+ metadata.gz: 395227abf093a3612cc2477441fb8fa54cd1abf83d413578180da6bcccae4aec
4
+ data.tar.gz: 8a88eff025071f4111fdf7d7d05f53a3752ed18fd8edeb8448fec34753b65d1a
5
5
  SHA512:
6
- metadata.gz: 2faab32c5326468c8a28c78c79ad4f2772b2f973585c948ea59466926c6e28aa88e7ffb3c4bac07235e420f61fe1752518d96e7992d3f9dc0be6a7e501d0ad5d
7
- data.tar.gz: a7f6042200eea38224472ce911fcd01fd44c1de9aa48d0d0105c419bf647aafa471c9d5c394abbc8f2cdacd68d20f9d82da887490f3708ad5680f157358c2847
6
+ metadata.gz: 36f346d8b78a3124b18b5a3d4053f5e1bb275b6cf22515d0011f0f338402a6304a64e02ba38090e94365d71264e0a71c0bcbe04fbc763bab0e75c81444c39e51
7
+ data.tar.gz: aaf405f5c38fa2bf7387e327dd7506a31a77c3d1fc17c0bd88e7944e84b8b66cba958cf37cabb85ad314c6226f75749f65929cba4f5a595ab6fb228f5842ec0a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Release History: opentelemetry-instrumentation-delayed_job
2
2
 
3
+ ### v0.19.1 / 2023-01-14
4
+
5
+ * DOCS: Fix gem homepage
6
+ * DOCS: More gem documentation fixes
7
+
8
+ ### v0.19.0 / 2022-06-09
9
+
10
+ * Upgrading Base dependency version
11
+ * FIXED: Rails 7.0.3 test suite incompatibility
12
+ * FIXED: Broken test file requirements
13
+
3
14
  ### v0.18.5 / 2022-05-02
4
15
 
5
16
  * FIXED: RubyGems Fallback
data/README.md CHANGED
@@ -32,7 +32,7 @@ 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/main/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-contrib/blob/main/instrumentation/delayed_job/example/delayed_job.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
@@ -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/main/LICENSE
50
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/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
53
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -18,6 +18,8 @@ module OpenTelemetry
18
18
 
19
19
  attributes = build_attributes(job)
20
20
  attributes['messaging.operation'] = 'send'
21
+ attributes.compact!
22
+
21
23
  tracer.in_span("#{job_queue(job)} send", attributes: attributes, kind: :producer) do |span|
22
24
  yield job
23
25
  span.set_attribute('messaging.message_id', job.id.to_s)
@@ -33,6 +35,8 @@ module OpenTelemetry
33
35
  attributes['messaging.delayed_job.locked_by'] = job.locked_by if job.locked_by
34
36
  attributes['messaging.operation'] = 'process'
35
37
  attributes['messaging.message_id'] = job.id.to_s
38
+ attributes.compact!
39
+
36
40
  tracer.in_span("#{job_queue(job)} process", attributes: attributes, kind: :consumer) do |span|
37
41
  add_events(span, job)
38
42
  yield job
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module DelayedJob
10
- VERSION = '0.18.5'
10
+ VERSION = '0.19.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-delayed_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.5
4
+ version: 0.19.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: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2023-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.20.0
33
+ version: 0.21.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.20.0
40
+ version: 0.21.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.17'
61
+ version: '2.4'
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: '1.17'
68
+ version: '2.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: delayed_job
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.0'
117
+ version: '1.1'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.0'
124
+ version: '1.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: opentelemetry-test-helpers
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rspec-mocks
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +156,14 @@ dependencies:
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: 0.73.0
159
+ version: 1.41.1
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: 0.73.0
166
+ version: 1.41.1
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: simplecov
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -237,14 +251,14 @@ files:
237
251
  - lib/opentelemetry/instrumentation/delayed_job/instrumentation.rb
238
252
  - lib/opentelemetry/instrumentation/delayed_job/plugins/tracer_plugin.rb
239
253
  - lib/opentelemetry/instrumentation/delayed_job/version.rb
240
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
254
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
241
255
  licenses:
242
256
  - Apache-2.0
243
257
  metadata:
244
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.18.5/file.CHANGELOG.html
245
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/delayed_job
246
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
247
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-delayed_job/v0.18.5
258
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.19.1/file/CHANGELOG.md
259
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/delayed_job
260
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
261
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-delayed_job/0.19.1
248
262
  post_install_message:
249
263
  rdoc_options: []
250
264
  require_paths:
@@ -253,7 +267,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
267
  requirements:
254
268
  - - ">="
255
269
  - !ruby/object:Gem::Version
256
- version: 2.5.0
270
+ version: 2.6.0
257
271
  required_rubygems_version: !ruby/object:Gem::Requirement
258
272
  requirements:
259
273
  - - ">="