opentelemetry-instrumentation-http 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: c9570118296fb851ea1c1ea32f2daa62f05c9ce7fab282848023858bae05be9e
|
4
|
+
data.tar.gz: 9d605b372fe2e1572a950618424d6b15a930d80f4f9f61b033e79d2f536225f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29ba0108de767f29e73928c18465d0e91043c8c53b5a45044f2b85504fadcd91467e80afe3fbb24b143b7a4bf521ec6bc2263be6913757153effaa0a47216bc3
|
7
|
+
data.tar.gz: d3188b798e5a241ea6a38a413d6ef626c8089c9335bb297bdffb507c01c739cf6573ea126289ee0703f3fa75ab37a14d1815296b4504d41b20743c4f70aa65f5
|
data/CHANGELOG.md
CHANGED
@@ -21,7 +21,7 @@ module OpenTelemetry
|
|
21
21
|
'http.url' => "#{uri.scheme}://#{uri.host}",
|
22
22
|
'net.peer.name' => uri.host,
|
23
23
|
'net.peer.port' => uri.port
|
24
|
-
}.merge(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
24
|
+
}.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
25
25
|
|
26
26
|
tracer.in_span("HTTP #{request_method}", attributes: attributes, kind: :client) do |span|
|
27
27
|
OpenTelemetry.propagation.inject(req.headers)
|
@@ -11,10 +11,10 @@ module OpenTelemetry
|
|
11
11
|
# Module to prepend to HTTP::Connection for instrumentation
|
12
12
|
module Connection
|
13
13
|
def initialize(req, options)
|
14
|
-
attributes =
|
14
|
+
attributes = {
|
15
15
|
'net.peer.name' => req.uri.host,
|
16
16
|
'net.peer.port' => req.uri.port
|
17
|
-
)
|
17
|
+
}.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
18
18
|
|
19
19
|
tracer.in_span('HTTP CONNECT', attributes: attributes) do
|
20
20
|
super
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-http
|
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/v0.19.
|
231
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.4/file.CHANGELOG.html
|
232
232
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/http
|
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/v0.19.
|
234
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.4
|
235
235
|
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|