opentelemetry-instrumentation-http_client 0.19.3 → 0.20.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: 7fa451f0b4298e27b1f52906988f8b1b43c1adf98fe49a90a95a90843e79eb64
4
- data.tar.gz: f929ec719e5898795439cf4e0199875ebff6b2be2af446ceb82c6a23eed295ec
3
+ metadata.gz: e0f2d49cc8b13f9b431d3d5af50d3a132fb23d7e7d08cd96701b648b303b88fc
4
+ data.tar.gz: 47408bae801c7cf13080a7820ec366cbea825db99a255318725681c00ca16142
5
5
  SHA512:
6
- metadata.gz: f5b8b60501c9a3e158963ddc5c9f801fa21a680ec0a65b1890ed10be0bbce15050f88e84689292505a53f904baeee2d1ca7f694c7238ae0fbc9246bd7b0ef616
7
- data.tar.gz: 74dbfab623610dec1618f86a631b3375afe7cfd7318c3bd0edb019e3112ac56751514a38ac6f1c2ae6329d4fbb35825bdd07eee97400379ed5219165f4e0a592
6
+ metadata.gz: 9bc173e3cbf1d06c4d486380cb96862cdd4478cdc3e8e3eb3655f6a51a08b16496c149ba3fd66f6cfb9ccb33b76b7bd87c59e26319eb2a2a3b573e24594ca33b
7
+ data.tar.gz: fdf04cd95a15dd7c757cdc9d03a86ff3da77cf49d0bd27981d11c13dcca2caed8d769992173aabe6e2c2e793c844ac93662e5756c8c1049dd2e22c6b55b6190d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release History: opentelemetry-instrumentation-http_client
2
2
 
3
+ ### v0.20.0 / 2022-06-09
4
+
5
+ * Upgrading Base dependency version
6
+ * FIXED: Broken test file requirements
7
+
8
+ ### v0.19.5 / 2022-05-05
9
+
10
+ * (No significant changes)
11
+
12
+ ### v0.19.4 / 2022-02-02
13
+
14
+ * FIXED: Excessive hash creation on context attr merging
15
+
3
16
  ### v0.19.3 / 2021-12-01
4
17
 
5
18
  * FIXED: Change net attribute names to match the semantic conventions spec for http
@@ -16,6 +16,7 @@ module OpenTelemetry
16
16
  uri = req.header.request_uri
17
17
  url = "#{uri.scheme}://#{uri.host}"
18
18
  request_method = req.header.request_method
19
+
19
20
  attributes = {
20
21
  'http.method' => request_method,
21
22
  'http.scheme' => uri.scheme,
@@ -23,7 +24,7 @@ module OpenTelemetry
23
24
  'http.url' => url,
24
25
  'net.peer.name' => uri.host,
25
26
  'net.peer.port' => uri.port
26
- }.merge(OpenTelemetry::Common::HTTP::ClientContext.attributes)
27
+ }.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
27
28
 
28
29
  tracer.in_span("HTTP #{request_method}", attributes: attributes, kind: :client) do |span|
29
30
  OpenTelemetry.propagation.inject(req.header)
@@ -14,7 +14,7 @@ module OpenTelemetry
14
14
  site = @proxy || @dest
15
15
  url = site.addr
16
16
 
17
- attributes = OpenTelemetry::Common::HTTP::ClientContext.attributes.merge('http.url' => url)
17
+ attributes = { 'http.url' => url }.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
18
18
  tracer.in_span('HTTP CONNECT', attributes: attributes) do
19
19
  super
20
20
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HttpClient
10
- VERSION = '0.19.3'
10
+ VERSION = '0.20.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.19.3
4
+ version: 0.20.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: 2021-12-01 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.19.0
47
+ version: 0.21.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.19.0
54
+ version: 0.21.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  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: rake
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -228,10 +242,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
228
242
  licenses:
229
243
  - Apache-2.0
230
244
  metadata:
231
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.3/file.CHANGELOG.html
245
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.20.0/file.CHANGELOG.html
232
246
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/http_client
233
247
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
234
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.3
248
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.20.0
235
249
  post_install_message:
236
250
  rdoc_options: []
237
251
  require_paths:
@@ -240,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
254
  requirements:
241
255
  - - ">="
242
256
  - !ruby/object:Gem::Version
243
- version: 2.5.0
257
+ version: 2.6.0
244
258
  required_rubygems_version: !ruby/object:Gem::Requirement
245
259
  requirements:
246
260
  - - ">="