opentelemetry-instrumentation-net_http 0.28.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +105 -95
- data/lib/opentelemetry/instrumentation/net/http/patches/dup/instrumentation.rb +2 -2
- data/lib/opentelemetry/instrumentation/net/http/patches/old/instrumentation.rb +2 -2
- data/lib/opentelemetry/instrumentation/net/http/patches/stable/instrumentation.rb +2 -2
- data/lib/opentelemetry/instrumentation/net/http/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 02a3be5d6fb9479bbb5cc4c7e440214d49dde5b962ef37ce0a50016063284146
|
|
4
|
+
data.tar.gz: 81272a50229497ce11663b203a971be657b2735625113f46efd9e548c90f41e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d36d6791940c617a460049079163d5a2abb77de584641f26e36d2f27811743b36341354ac6ee44383443f2083793362fda5f64593a1b2472afcc777aa6694b85
|
|
7
|
+
data.tar.gz: 797fd212861854421b91754947e7ac138158041f376106b4de0f7e6e24dae6d0e467dc696d84b9352f964954f10b3a6e17d64cab55bcdfa6c2290e047318464f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,176 +1,186 @@
|
|
|
1
1
|
# Release History: opentelemetry-instrumentation-net_http
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## v0.29.1 / 2026-09-15
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
* ADDED: Default to stable HTTP semantic conventions (#2051)
|
|
5
|
+
- FIXED: Omit nil attributes on spans (#2558)
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## v0.29.0 / 2026-04-14
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
- BREAKING CHANGE: Min Ruby Version 3.3 (#2125)
|
|
10
|
+
- ADDED: Min Ruby Version 3.3 (#2125)
|
|
11
|
+
- ADDED: Add release tag into source code url of gem metadata (#1984)
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
## v0.28.0 / 2026-03-17
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
- BREAKING CHANGE: Default to stable HTTP semantic conventions (#2051)
|
|
16
|
+
- ADDED: Default to stable HTTP semantic conventions (#2051)
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
## v0.27.0 / 2026-01-13
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
* ADDED: Min Ruby Version 3.2
|
|
20
|
+
- ADDED: HTTP Client Semconv v1.17 Span Naming
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
## v0.26.1 / 2025-11-25
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
- FIXED: Update support for unknown HTTP methods to match semantic conventions
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
## v0.26.0 / 2025-10-22
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
- BREAKING CHANGE: Min Ruby Version 3.2
|
|
29
|
+
- ADDED: Min Ruby Version 3.2
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
## v0.25.1 / 2025-09-30
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
- FIXED: Min OTel Ruby API 1.7
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
## v0.25.0 / 2025-09-30
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
- ADDED: Bump minimum API Version to 1.7
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
## v0.24.0 / 2025-08-26
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
* ADDED: Set minimum supported version to Ruby 3.1
|
|
41
|
+
- ADDED: Add `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable compatibility [#1572](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/1572)
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
## v0.23.1 / 2025-08-13
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
- FIXED: net_http and aws_sdk ci fix
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
## v0.23.0 / 2025-01-16
|
|
47
48
|
|
|
48
|
-
|
|
49
|
+
- BREAKING CHANGE: Set minimum supported version to Ruby 3.1
|
|
50
|
+
- ADDED: Set minimum supported version to Ruby 3.1
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
## v0.22.8 / 2024-11-26
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
- CHANGED: Performance Freeze all range objects #1222
|
|
53
55
|
|
|
54
|
-
|
|
56
|
+
## v0.22.7 / 2024-07-23
|
|
55
57
|
|
|
56
|
-
|
|
58
|
+
- DOCS: Add cspell to CI
|
|
57
59
|
|
|
58
|
-
|
|
60
|
+
## v0.22.6 / 2024-06-18
|
|
59
61
|
|
|
60
|
-
|
|
62
|
+
- FIXED: Relax otel common gem constraints
|
|
61
63
|
|
|
62
|
-
|
|
64
|
+
## v0.22.5 / 2024-05-09
|
|
63
65
|
|
|
64
|
-
|
|
66
|
+
- FIXED: Untrace entire request
|
|
65
67
|
|
|
66
|
-
|
|
68
|
+
## v0.22.4 / 2023-11-23
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
- CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
|
|
69
71
|
|
|
70
|
-
|
|
72
|
+
## v0.22.3 / 2023-11-22
|
|
71
73
|
|
|
72
|
-
|
|
74
|
+
- FIXED: Update `Net::HTTP` instrumentation to no-op on untraced contexts
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
## v0.22.2 / 2023-07-21
|
|
75
77
|
|
|
76
|
-
|
|
77
|
-
* ADDED: Drop support for EoL Ruby 2.7
|
|
78
|
-
* FIXED: Drop Rails dependency for ActiveSupport Instrumentation
|
|
78
|
+
- ADDED: Update `opentelemetry-common` from [0.19.3 to 0.20.0](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/537)
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
## v0.22.1 / 2023-06-05
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
* DOCS: Fix gem homepage
|
|
84
|
-
* DOCS: More gem documentation fixes
|
|
82
|
+
- FIXED: Base config options
|
|
85
83
|
|
|
86
|
-
|
|
84
|
+
## v0.22.0 / 2023-04-17
|
|
87
85
|
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
- BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
|
87
|
+
- ADDED: Drop support for EoL Ruby 2.7
|
|
88
|
+
- FIXED: Drop Rails dependency for ActiveSupport Instrumentation
|
|
90
89
|
|
|
91
|
-
|
|
90
|
+
## v0.21.1 / 2023-01-14
|
|
92
91
|
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
- FIXED: Add untraced check to the Net::HTTP connect instrumentation
|
|
93
|
+
- DOCS: Fix gem homepage
|
|
94
|
+
- DOCS: More gem documentation fixes
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
## v0.21.0 / 2022-10-04
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
- ADDED: Add Net::HTTP :untraced_hosts option
|
|
99
|
+
- FIXED: Rename HTTP CONNECT for low level connection spans
|
|
99
100
|
|
|
100
|
-
|
|
101
|
+
## v0.20.0 / 2022-06-09
|
|
101
102
|
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
- Upgrading Base dependency version
|
|
104
|
+
- FIXED: Broken test file requirements
|
|
104
105
|
|
|
105
|
-
|
|
106
|
+
## v0.19.5 / 2022-05-05
|
|
106
107
|
|
|
107
|
-
|
|
108
|
+
- (No significant changes)
|
|
108
109
|
|
|
109
|
-
|
|
110
|
+
## v0.19.4 / 2022-02-02
|
|
110
111
|
|
|
111
|
-
|
|
112
|
+
- FIXED: Client Context attrs overwrite in net::http
|
|
113
|
+
- FIXED: Excessive hash creation on context attr merging
|
|
112
114
|
|
|
113
|
-
|
|
115
|
+
## v0.19.3 / 2021-12-01
|
|
114
116
|
|
|
115
|
-
|
|
117
|
+
- FIXED: Change net attribute names to match the semantic conventions spec for http
|
|
116
118
|
|
|
117
|
-
|
|
119
|
+
## v0.19.2 / 2021-09-29
|
|
118
120
|
|
|
119
|
-
|
|
120
|
-
* FIXED: Total order constraint on span.status=
|
|
121
|
+
- (No significant changes)
|
|
121
122
|
|
|
122
|
-
|
|
123
|
+
## v0.19.1 / 2021-08-12
|
|
123
124
|
|
|
124
|
-
|
|
125
|
+
- DOCS: Update docs to rely more on environment variable configuration
|
|
125
126
|
|
|
126
|
-
|
|
127
|
+
## v0.19.0 / 2021-06-23
|
|
127
128
|
|
|
128
|
-
|
|
129
|
+
- BREAKING CHANGE: Total order constraint on span.status=
|
|
130
|
+
- FIXED: Total order constraint on span.status=
|
|
129
131
|
|
|
130
|
-
|
|
132
|
+
## v0.18.0 / 2021-05-21
|
|
131
133
|
|
|
132
|
-
|
|
133
|
-
* DOCS: Replace Gitter with GitHub Discussions
|
|
134
|
+
- ADDED: Updated API dependency for 1.0.0.rc1
|
|
134
135
|
|
|
135
|
-
|
|
136
|
+
## v0.17.0 / 2021-04-22
|
|
136
137
|
|
|
137
|
-
|
|
138
|
+
- FIXED: Refactor propagators to add #fields
|
|
138
139
|
|
|
139
|
-
|
|
140
|
+
## v0.16.0 / 2021-03-17
|
|
140
141
|
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
- FIXED: Example scripts now reference local common lib
|
|
143
|
+
- DOCS: Replace Gitter with GitHub Discussions
|
|
143
144
|
|
|
144
|
-
|
|
145
|
+
## v0.15.0 / 2021-02-18
|
|
145
146
|
|
|
146
|
-
|
|
147
|
+
- ADDED: Add Net::HTTP#connect tracing
|
|
147
148
|
|
|
148
|
-
|
|
149
|
+
## v0.14.0 / 2021-02-03
|
|
149
150
|
|
|
150
|
-
|
|
151
|
+
- BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
|
|
152
|
+
- ADDED: Replace getter and setter callables and remove rack specific propagators
|
|
151
153
|
|
|
152
|
-
|
|
154
|
+
## v0.13.0 / 2021-01-29
|
|
153
155
|
|
|
154
|
-
|
|
156
|
+
- (No significant changes)
|
|
155
157
|
|
|
156
|
-
|
|
158
|
+
## v0.12.0 / 2020-12-24
|
|
157
159
|
|
|
158
|
-
|
|
160
|
+
- (No significant changes)
|
|
159
161
|
|
|
160
|
-
|
|
162
|
+
## v0.11.0 / 2020-12-11
|
|
161
163
|
|
|
162
|
-
|
|
164
|
+
- FIXED: Copyright comments to not reference year
|
|
163
165
|
|
|
164
|
-
|
|
166
|
+
## v0.10.0 / 2020-12-03
|
|
165
167
|
|
|
166
|
-
|
|
167
|
-
* FIXED: Remove 'canonical' from status codes
|
|
168
|
+
- (No significant changes)
|
|
168
169
|
|
|
169
|
-
|
|
170
|
+
## v0.9.0 / 2020-11-27
|
|
170
171
|
|
|
171
|
-
|
|
172
|
-
* DOCS: Standardize top-level docs structure and readme
|
|
172
|
+
- ADDED: Add common helpers
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
## v0.8.0 / 2020-10-27
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
- BREAKING CHANGE: Remove 'canonical' from status codes
|
|
177
|
+
- FIXED: Remove 'canonical' from status codes
|
|
178
|
+
|
|
179
|
+
## v0.7.0 / 2020-10-07
|
|
180
|
+
|
|
181
|
+
- DOCS: Added documentation for net_http gem in instrumentation
|
|
182
|
+
- DOCS: Standardize top-level docs structure and readme
|
|
183
|
+
|
|
184
|
+
## v0.6.0 / 2020-09-10
|
|
185
|
+
|
|
186
|
+
- (No significant changes)
|
|
@@ -30,7 +30,7 @@ module OpenTelemetry
|
|
|
30
30
|
OpenTelemetry::SemanticConventions::Trace::NET_PEER_NAME => @address,
|
|
31
31
|
OpenTelemetry::SemanticConventions::Trace::NET_PEER_PORT => @port, 'url.scheme' => USE_SSL_TO_SCHEME[use_ssl?],
|
|
32
32
|
'server.address' => @address,
|
|
33
|
-
'server.port' => @port }
|
|
33
|
+
'server.port' => @port }.compact
|
|
34
34
|
path, query = split_path_and_query(req.path)
|
|
35
35
|
attributes['url.path'] = path
|
|
36
36
|
attributes['url.query'] = query if query
|
|
@@ -68,7 +68,7 @@ module OpenTelemetry
|
|
|
68
68
|
OpenTelemetry::SemanticConventions::Trace::NET_PEER_PORT => conn_port,
|
|
69
69
|
'server.address' => conn_address,
|
|
70
70
|
'server.port' => conn_port
|
|
71
|
-
}.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
|
71
|
+
}.compact.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
|
72
72
|
|
|
73
73
|
if use_ssl? && proxy?
|
|
74
74
|
span_name = 'CONNECT'
|
|
@@ -28,7 +28,7 @@ module OpenTelemetry
|
|
|
28
28
|
attributes = { OpenTelemetry::SemanticConventions::Trace::HTTP_SCHEME => USE_SSL_TO_SCHEME[use_ssl?],
|
|
29
29
|
OpenTelemetry::SemanticConventions::Trace::HTTP_TARGET => req.path,
|
|
30
30
|
OpenTelemetry::SemanticConventions::Trace::NET_PEER_NAME => @address,
|
|
31
|
-
OpenTelemetry::SemanticConventions::Trace::NET_PEER_PORT => @port }.merge!(span_data.attributes)
|
|
31
|
+
OpenTelemetry::SemanticConventions::Trace::NET_PEER_PORT => @port }.compact.merge!(span_data.attributes)
|
|
32
32
|
|
|
33
33
|
tracer.in_span(
|
|
34
34
|
span_data.span_name,
|
|
@@ -59,7 +59,7 @@ module OpenTelemetry
|
|
|
59
59
|
attributes = {
|
|
60
60
|
OpenTelemetry::SemanticConventions::Trace::NET_PEER_NAME => conn_address,
|
|
61
61
|
OpenTelemetry::SemanticConventions::Trace::NET_PEER_PORT => conn_port
|
|
62
|
-
}.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
|
62
|
+
}.compact.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
|
63
63
|
|
|
64
64
|
if use_ssl? && proxy?
|
|
65
65
|
span_name = 'HTTP CONNECT'
|
|
@@ -27,7 +27,7 @@ module OpenTelemetry
|
|
|
27
27
|
|
|
28
28
|
attributes = { 'url.scheme' => USE_SSL_TO_SCHEME[use_ssl?],
|
|
29
29
|
'server.address' => @address,
|
|
30
|
-
'server.port' => @port }
|
|
30
|
+
'server.port' => @port }.compact
|
|
31
31
|
path, query = split_path_and_query(req.path)
|
|
32
32
|
attributes['url.path'] = path
|
|
33
33
|
attributes['url.query'] = query if query
|
|
@@ -63,7 +63,7 @@ module OpenTelemetry
|
|
|
63
63
|
attributes = {
|
|
64
64
|
'server.address' => conn_address,
|
|
65
65
|
'server.port' => conn_port
|
|
66
|
-
}.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
|
66
|
+
}.compact.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
|
|
67
67
|
|
|
68
68
|
if use_ssl? && proxy?
|
|
69
69
|
span_name = 'CONNECT'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opentelemetry-instrumentation-net_http
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.29.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenTelemetry Authors
|
|
@@ -47,10 +47,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
|
47
47
|
licenses:
|
|
48
48
|
- Apache-2.0
|
|
49
49
|
metadata:
|
|
50
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.
|
|
51
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/
|
|
50
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.29.1/file/CHANGELOG.md
|
|
51
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/opentelemetry-instrumentation-net_http/v0.29.1/instrumentation/net_http
|
|
52
52
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
|
53
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.
|
|
53
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.29.1
|
|
54
54
|
rdoc_options: []
|
|
55
55
|
require_paths:
|
|
56
56
|
- lib
|
|
@@ -58,14 +58,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '3.
|
|
61
|
+
version: '3.3'
|
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
64
|
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
66
|
version: '0'
|
|
67
67
|
requirements: []
|
|
68
|
-
rubygems_version: 4.0.
|
|
68
|
+
rubygems_version: 4.0.16
|
|
69
69
|
specification_version: 4
|
|
70
70
|
summary: Net::HTTP instrumentation for the OpenTelemetry framework
|
|
71
71
|
test_files: []
|