opentelemetry-instrumentation-http 0.19.3 → 0.19.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/opentelemetry/instrumentation/http/instrumentation.rb +1 -1
- data/lib/opentelemetry/instrumentation/http/patches/client.rb +1 -1
- data/lib/opentelemetry/instrumentation/http/patches/connection.rb +2 -2
- data/lib/opentelemetry/instrumentation/http/version.rb +1 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149ab36c5fb80f4920b7c2900976cf6adef179a49b03e92c36a3475abb5cfe73
|
4
|
+
data.tar.gz: 766d74915e52c85356db8ead152e617287024e1d3a038744d60d22ecffd90441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29bc9a472f0bd0af6dd5859f95770b85ca250b9733210326939ecf14616b2c95a4719a1851dd1393142a68d03f43dcc9d5f3fdcb7aaa3307e629aa9650c7c392
|
7
|
+
data.tar.gz: 77693cf71ba6899aaa43362522a1ed041389a7ba840c2d61424e0d6f226c51ce3deb86984a575e93c84e089546edab704f558324b0cfa674504d834fc8e39ecb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-http
|
2
2
|
|
3
|
+
### v0.19.6 / 2022-05-05
|
4
|
+
|
5
|
+
* (No significant changes)
|
6
|
+
|
7
|
+
### v0.19.5 / 2022-05-02
|
8
|
+
|
9
|
+
* FIXED: RubyGems Fallback
|
10
|
+
|
11
|
+
### v0.19.4 / 2022-02-02
|
12
|
+
|
13
|
+
* FIXED: Excessive hash creation on context attr merging
|
14
|
+
|
3
15
|
### v0.19.3 / 2021-12-01
|
4
16
|
|
5
17
|
* FIXED: Change net attribute names to match the semantic conventions spec for http
|
@@ -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.6
|
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-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.20.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.20.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: appraisal
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: opentelemetry-test-helpers
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rake
|
113
127
|
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/v0.19.
|
245
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.6/file.CHANGELOG.html
|
232
246
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/http
|
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/v0.19.
|
248
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.6
|
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
|
- - ">="
|