opentelemetry-instrumentation-net_http 0.21.0 → 0.22.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: 25308137775787bda9a6fc713d1e398ef167f4143acba4a568fca9296d7ca8f7
4
- data.tar.gz: 9a8e6b61bbd51e024bd16c30c9b6b74a526f2abb810533714b3ba2d57a2bdf74
3
+ metadata.gz: e4fddca9a8d27d1ba7494010e42af428a0986e31f8e00b2e445aeb306633e21f
4
+ data.tar.gz: 59f6dcbea70b67ecfe41805e94e249bcc4bfef7a3851acd5a5c1fe3a60b128d4
5
5
  SHA512:
6
- metadata.gz: 9efc782cd36d09e4fe1003ea91118c9fdffbcb561b4ae3f6bcf2468c93b52da7514933c5dfd14fe4a5d606d6c1e32ae865babede951765728ebff920c9ce546d
7
- data.tar.gz: e3bcfb6b9ccea89f55f9feba77e0867bff307edb8b5428f767be64d838c8a905188cd71734e491dfa2e1bef071e75bfaa46d0ae1743af6bb9e8805446ac6e2b4
6
+ metadata.gz: 15e5cd7de25cc76a22e3e789619e55c178cd14cdc5232e513cba374f00903cf7b71c4a1e3ec5d66cfb3c2448679cfdbe087f8db72cfa7a3efc390cc54bbf525f
7
+ data.tar.gz: bff811d3bf1ca9a6c6963b64f16459c7f48c72e2eb6d35af4740255ac71be2b26c98bca990cf402806dadf6db012362c6b3e7b43e646f0acfc36777d7e3a9584
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release History: opentelemetry-instrumentation-net_http
2
2
 
3
+ ### v0.22.0 / 2023-04-17
4
+
5
+ * BREAKING CHANGE: Drop support for EoL Ruby 2.7
6
+
7
+ * ADDED: Drop support for EoL Ruby 2.7
8
+ * FIXED: Drop Rails dependency for ActiveSupport Instrumentation
9
+
10
+ ### v0.21.1 / 2023-01-14
11
+
12
+ * FIXED: Add untraced check to the Net::HTTP connect instrumentation
13
+ * DOCS: Fix gem homepage
14
+ * DOCS: More gem documentation fixes
15
+
3
16
  ### v0.21.0 / 2022-10-04
4
17
 
5
18
  * ADDED: Add Net::HTTP :untraced_hosts option
@@ -43,8 +43,9 @@ module OpenTelemetry
43
43
 
44
44
  private
45
45
 
46
- # rubocop:disable Metrics/MethodLength
47
46
  def connect
47
+ return super if untraced?
48
+
48
49
  if proxy?
49
50
  conn_address = proxy_address
50
51
  conn_port = proxy_port
@@ -70,7 +71,6 @@ module OpenTelemetry
70
71
  super
71
72
  end
72
73
  end
73
- # rubocop:enable Metrics/MethodLength
74
74
 
75
75
  def annotate_span_with_response!(span, response)
76
76
  return unless response&.code
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Net
10
10
  module HTTP
11
- VERSION = '0.21.0'
11
+ VERSION = '0.22.0'
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.21.0
4
+ version: 0.22.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: 2022-10-04 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.21.0
47
+ version: 0.22.0
48
48
  type: :runtime
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: 0.21.0
54
+ version: 0.22.0
55
55
  - !ruby/object:Gem::Dependency
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: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: opentelemetry-test-helpers
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '0.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '0.3'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3.0
131
+ version: 1.48.1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3.0
138
+ version: 1.48.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -209,14 +209,14 @@ files:
209
209
  - lib/opentelemetry/instrumentation/net/http/instrumentation.rb
210
210
  - lib/opentelemetry/instrumentation/net/http/patches/instrumentation.rb
211
211
  - lib/opentelemetry/instrumentation/net/http/version.rb
212
- homepage: https://github.com/open-telemetry/opentelemetry-contrib
212
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
213
213
  licenses:
214
214
  - Apache-2.0
215
215
  metadata:
216
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-net_http/v0.21.0/file.CHANGELOG.html
216
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.0/file/CHANGELOG.md
217
217
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/net_http
218
218
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
219
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-net_http/v0.21.0
219
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.0
220
220
  post_install_message:
221
221
  rdoc_options: []
222
222
  require_paths:
@@ -225,14 +225,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - ">="
227
227
  - !ruby/object:Gem::Version
228
- version: 2.6.0
228
+ version: '3.0'
229
229
  required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  requirements:
231
231
  - - ">="
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubygems_version: 3.1.6
235
+ rubygems_version: 3.2.33
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Net::HTTP instrumentation for the OpenTelemetry framework