opentelemetry-instrumentation-http_client 0.19.3 → 0.19.4
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: 221b04a120465c02a88b9afde6bd0c1f22a5cd8be8803492d9eb044081c36f98
|
4
|
+
data.tar.gz: cc4847fca013eb77946868030ab9c3545115096254a08f1f0bc72eb3b06a8aca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0176e65bca0e81fe0ffe79f868ac695c9c25abf8640e82d2aa3076a399ff8b17451e43c722419b23758b987c4ee2ec601885b5043903c584ab4ee7ef2ac90d98
|
7
|
+
data.tar.gz: ed8d94d6de3720dc10fc123893634549b02b4aea90719e968bb0e43bce13c5de1f6d865862db7b28babb9dfc06945b465553925bbc5628d7f659be22a7c67246
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-http_client
|
2
2
|
|
3
|
+
### v0.19.4 / 2022-02-02
|
4
|
+
|
5
|
+
* FIXED: Excessive hash creation on context attr merging
|
6
|
+
|
3
7
|
### v0.19.3 / 2021-12-01
|
4
8
|
|
5
9
|
* 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.19.
|
4
|
+
version: 0.19.4
|
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-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -228,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
228
228
|
licenses:
|
229
229
|
- Apache-2.0
|
230
230
|
metadata:
|
231
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.
|
231
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.4/file.CHANGELOG.html
|
232
232
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/http_client
|
233
233
|
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.
|
234
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.4
|
235
235
|
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|