opentelemetry-instrumentation-http_client 0.20.0 → 0.21.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: e0f2d49cc8b13f9b431d3d5af50d3a132fb23d7e7d08cd96701b648b303b88fc
4
- data.tar.gz: 47408bae801c7cf13080a7820ec366cbea825db99a255318725681c00ca16142
3
+ metadata.gz: b20e1804c5a9aee01fa8e95db6603a7a9a4c6a0334672606c8771e4220d1e3b6
4
+ data.tar.gz: 34a3d6dab826f310231871cc5cb93db2bc9036b9a8f4f77ced2f45322388fc12
5
5
  SHA512:
6
- metadata.gz: 9bc173e3cbf1d06c4d486380cb96862cdd4478cdc3e8e3eb3655f6a51a08b16496c149ba3fd66f6cfb9ccb33b76b7bd87c59e26319eb2a2a3b573e24594ca33b
7
- data.tar.gz: fdf04cd95a15dd7c757cdc9d03a86ff3da77cf49d0bd27981d11c13dcca2caed8d769992173aabe6e2c2e793c844ac93662e5756c8c1049dd2e22c6b55b6190d
6
+ metadata.gz: c409279d67c28dd8b2b189a32ac15ffae49028cc0d3ee5182cdc20a5e77a0c096b7b4882f89d2767d438aa79e9197746652fe5fe883033d4c0457e245660e9aa
7
+ data.tar.gz: e75fd411716e8673b4f935714a5196d50ebbe81ec3c6b799d1fdbce232b71d2ef0bd33df6ec4fb07065ede6fe59fee72a5a3cb94e49d484fa9744837b14d150b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-http_client
2
2
 
3
+ ### v0.21.0 / 2023-01-14
4
+
5
+ * ADDED: Add request/response hooks to more http clients
6
+ * DOCS: Fix gem homepage
7
+ * DOCS: More gem documentation fixes
8
+
3
9
  ### v0.20.0 / 2022-06-09
4
10
 
5
11
  * Upgrading Base dependency version
data/README.md CHANGED
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  ## Examples
34
34
 
35
- Example usage can be seen in the `./example/trace_demonstration.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/master/instrumentation/http_client/example/trace_demonstration.rb)
35
+ Example usage can be seen in the `./example/trace_demonstration.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/http_client/example/trace_demonstration.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
@@ -47,7 +47,7 @@ The `opentelemetry-instrumentation-http_client` gem is distributed under the Apa
47
47
  [httpclient-home]: https://github.com/nahi/httpclient
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/master/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
@@ -12,7 +12,7 @@ module OpenTelemetry
12
12
  module Client
13
13
  private
14
14
 
15
- def do_get_block(req, proxy, conn, &block) # rubocop:disable Metrics/AbcSize
15
+ def do_get_block(req, proxy, conn, &block)
16
16
  uri = req.header.request_uri
17
17
  url = "#{uri.scheme}://#{uri.host}"
18
18
  request_method = req.header.request_method
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HttpClient
10
- VERSION = '0.20.0'
10
+ VERSION = '0.21.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-http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.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-06-09 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
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.17'
75
+ version: '2.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.17'
82
+ version: '2.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: httpclient
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 12.3.3
145
+ version: '13.0'
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: 12.3.3
152
+ version: '13.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.73.0
159
+ version: 1.41.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.73.0
166
+ version: 1.41.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -238,14 +238,14 @@ files:
238
238
  - lib/opentelemetry/instrumentation/http_client/patches/client.rb
239
239
  - lib/opentelemetry/instrumentation/http_client/patches/session.rb
240
240
  - lib/opentelemetry/instrumentation/http_client/version.rb
241
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
241
+ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
242
242
  licenses:
243
243
  - Apache-2.0
244
244
  metadata:
245
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.20.0/file.CHANGELOG.html
246
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/http_client
247
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
248
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.20.0
245
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http_client/0.21.0/file/CHANGELOG.md
246
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/http_client
247
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
248
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-http_client/0.21.0
249
249
  post_install_message:
250
250
  rdoc_options: []
251
251
  require_paths: