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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0f2d49cc8b13f9b431d3d5af50d3a132fb23d7e7d08cd96701b648b303b88fc
|
4
|
+
data.tar.gz: 47408bae801c7cf13080a7820ec366cbea825db99a255318725681c00ca16142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
257
|
+
version: 2.6.0
|
244
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
259
|
requirements:
|
246
260
|
- - ">="
|