opentelemetry-instrumentation-net_http 0.22.3 → 0.22.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: 48a71b66015c1792cbec584f82deec51ae575c6613f1d55cdbc32ed0701948f8
|
4
|
+
data.tar.gz: a886783d3319cb9f5eb92a69464d6ed994fbdaca8d2b230425b8d9aeceeb23a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fffee71130050e9c9431df0f2cb48a5278ae9f9dffded499b29e065a70b890a69348a0e2d9fd05605d394b9175499fba297cdfca83fff39f25972583544f2d36
|
7
|
+
data.tar.gz: 8e6fdc73c90757da9d40f1c6168590d855f08c0cda1a503513c9f80dbbad32957092ec5da1a549b359aa3b7777e7dd48917ecefb2b6b1eb7883a31111a032cc0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-net_http
|
2
2
|
|
3
|
+
### v0.22.4 / 2023-11-23
|
4
|
+
|
5
|
+
* CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
|
6
|
+
|
3
7
|
### v0.22.3 / 2023-11-22
|
4
8
|
|
5
9
|
* FIXED: Update `Net::HTTP` instrumentation to no-op on untraced contexts
|
@@ -78,7 +78,7 @@ module OpenTelemetry
|
|
78
78
|
status_code = response.code.to_i
|
79
79
|
|
80
80
|
span.set_attribute(OpenTelemetry::SemanticConventions::Trace::HTTP_STATUS_CODE, status_code)
|
81
|
-
span.status = OpenTelemetry::Trace::Status.error unless (100..399).
|
81
|
+
span.status = OpenTelemetry::Trace::Status.error unless (100..399).cover?(status_code.to_i)
|
82
82
|
end
|
83
83
|
|
84
84
|
def tracer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-net_http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.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: 2023-11-
|
11
|
+
date: 2023-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 1.56.1
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop-performance
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.19.1
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.19.1
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: simplecov
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,10 +227,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
213
227
|
licenses:
|
214
228
|
- Apache-2.0
|
215
229
|
metadata:
|
216
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.
|
230
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.4/file/CHANGELOG.md
|
217
231
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/net_http
|
218
232
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
219
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.
|
233
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-net_http/0.22.4
|
220
234
|
post_install_message:
|
221
235
|
rdoc_options: []
|
222
236
|
require_paths:
|