opentelemetry-instrumentation-net_http 0.22.5 → 0.22.6

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: 3650984c4cb30a9909ebd2e7b12ca3f0b7ffb9ee8cc1bbd740cc891d1246dabb
4
- data.tar.gz: 4d5c3a350a04211706a9834e921444ec66329db7c48740abd43b02e842652a38
3
+ metadata.gz: 8869a453b60d3ae8ff5092484b866df664855d983bd5b76f762e05db0c75e868
4
+ data.tar.gz: 614d3f7776902b8ee2f484ff0a9aba64d48895446fe6996218db87d487bbf1b2
5
5
  SHA512:
6
- metadata.gz: 47f0327e72ec6b168e76e4f9281828428fa89b41715c41145bb1644bdd4bf8f0c3ae1d0738e40bbc70dacc1945b223d44b3a86aafdf5c14331fb584e726bba61
7
- data.tar.gz: 965c7afa450488ecbc574cbfbb78e3473832acc5a224980746f63406be84eb8ccb9c6808a8acbac294825c70868927568123c3c25027d5bdf6f31ade1408ed42
6
+ metadata.gz: e4312a009225f1484a22704849d1aa2d19947cd82a1428073b6af82046c39c966749b2c7e2ee56131b247f664c0c9ceb72ba221b3e38fb4dd845c44711cb6c23
7
+ data.tar.gz: '09754b5f4edf5736c441a118a491f2f2790ba2069c8c7e26056f1e42ebb3beb94d08b3a9c8a5a20495848cd78eaacf6d27e8c11be1ae6f4eeca51f0aa544572f'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-net_http
2
2
 
3
+ ### v0.22.6 / 2024-06-18
4
+
5
+ * FIXED: Relax otel common gem constraints
6
+
3
7
  ### v0.22.5 / 2024-05-09
4
8
 
5
9
  * FIXED: Untrace entire request
@@ -16,9 +16,9 @@ module OpenTelemetry
16
16
 
17
17
  def request(req, body = nil, &block)
18
18
  # Do not trace recursive call for starting the connection
19
- return super(req, body, &block) unless started?
19
+ return super unless started?
20
20
 
21
- return super(req, body, &block) if untraced?
21
+ return super if untraced?
22
22
 
23
23
  attributes = {
24
24
  OpenTelemetry::SemanticConventions::Trace::HTTP_METHOD => req.method,
@@ -35,7 +35,7 @@ module OpenTelemetry
35
35
  ) do |span|
36
36
  OpenTelemetry.propagation.inject(req)
37
37
 
38
- super(req, body, &block).tap do |response|
38
+ super.tap do |response|
39
39
  annotate_span_with_response!(span, response)
40
40
  end
41
41
  end
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Net
10
10
  module HTTP
11
- VERSION = '0.22.5'
11
+ VERSION = '0.22.6'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-net_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.5
4
+ version: 0.22.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
11
+ date: 2024-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: opentelemetry-common
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.21.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.21.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: opentelemetry-instrumentation-base
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +128,14 @@ dependencies:
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: '1.62'
131
+ version: 1.64.0
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: '1.62'
138
+ version: 1.64.0
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: rubocop-performance
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -227,10 +213,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
227
213
  licenses:
228
214
  - Apache-2.0
229
215
  metadata:
230
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.5/file/CHANGELOG.md
216
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.6/file/CHANGELOG.md
231
217
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/net_http
232
218
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
233
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.5
219
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.6
234
220
  post_install_message:
235
221
  rdoc_options: []
236
222
  require_paths: