opentelemetry-instrumentation-restclient 0.26.0 → 0.27.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8be28a7a4ea3f15787e741c3e2b0f788a4e67cb5a3bbd56c3a41ca911fd980d6
|
|
4
|
+
data.tar.gz: e933cce6626934142a17fd2ec00de8d84bd454b2ac9c4420d301a074b06237b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acc8d91b80e9c856d3116a7d03ecf4949cbec3f4ee6ab350a72e9972b5de216d52b8cff14021f629f7e9010b3bf70df8e66571dfb13515a7ffd74a8e96843643
|
|
7
|
+
data.tar.gz: 450a0da83a54d7a700ab6b75102d4aedfb1266e67fe7a4b04fc5345e7d1afa53a16092c434c78eaba48bacbb76d45ce95fa77cc72241291409f7c661df8541a8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Release History: opentelemetry-instrumentation-restclient
|
|
2
2
|
|
|
3
|
+
### v0.27.0 / 2026-03-17
|
|
4
|
+
|
|
5
|
+
* BREAKING CHANGE: Default to stable HTTP semantic conventions (#2051)
|
|
6
|
+
* ADDED: Default to stable HTTP semantic conventions (#2051)
|
|
7
|
+
|
|
3
8
|
### v0.26.0 / 2025-10-22
|
|
4
9
|
|
|
5
10
|
* BREAKING CHANGE: Min Ruby Version 3.2
|
|
6
|
-
|
|
7
11
|
* ADDED: Min Ruby Version 3.2
|
|
8
12
|
|
|
9
13
|
### v0.25.1 / 2025-09-30
|
|
@@ -21,7 +25,6 @@
|
|
|
21
25
|
### v0.23.0 / 2025-01-16
|
|
22
26
|
|
|
23
27
|
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
|
|
24
|
-
|
|
25
28
|
* ADDED: Set minimum supported version to Ruby 3.1
|
|
26
29
|
|
|
27
30
|
### v0.22.8 / 2024-11-26
|
|
@@ -59,7 +62,6 @@
|
|
|
59
62
|
### v0.22.0 / 2023-04-17
|
|
60
63
|
|
|
61
64
|
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
|
62
|
-
|
|
63
65
|
* ADDED: Drop support for EoL Ruby 2.7
|
|
64
66
|
|
|
65
67
|
### v0.21.0 / 2023-01-14
|
|
@@ -92,7 +94,6 @@
|
|
|
92
94
|
### v0.19.0 / 2021-06-23
|
|
93
95
|
|
|
94
96
|
* BREAKING CHANGE: Total order constraint on span.status=
|
|
95
|
-
|
|
96
97
|
* FIXED: Total order constraint on span.status=
|
|
97
98
|
|
|
98
99
|
### v0.18.0 / 2021-05-21
|
|
@@ -118,7 +119,6 @@
|
|
|
118
119
|
### v0.14.0 / 2021-02-03
|
|
119
120
|
|
|
120
121
|
* BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
|
|
121
|
-
|
|
122
122
|
* ADDED: Replace getter and setter callables and remove rack specific propagators
|
|
123
123
|
|
|
124
124
|
### v0.13.0 / 2021-01-29
|
|
@@ -140,13 +140,11 @@
|
|
|
140
140
|
### v0.9.0 / 2020-11-27
|
|
141
141
|
|
|
142
142
|
* BREAKING CHANGE: Add timeout for force_flush and shutdown
|
|
143
|
-
|
|
144
143
|
* ADDED: Add timeout for force_flush and shutdown
|
|
145
144
|
|
|
146
145
|
### v0.8.0 / 2020-10-27
|
|
147
146
|
|
|
148
147
|
* BREAKING CHANGE: Move context/span methods to Trace module
|
|
149
|
-
|
|
150
148
|
* FIXED: Move context/span methods to Trace module
|
|
151
149
|
|
|
152
150
|
### v0.7.0 / 2020-10-07
|
data/README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
The OpenTelemetry RestClient gem is a community maintained instrumentation for the [RestClient][restclient-home] library.
|
|
4
4
|
|
|
5
|
+
> [!IMPORTANT]
|
|
6
|
+
>
|
|
7
|
+
> **Deprecation Notice:**
|
|
8
|
+
> This gem is deprecated due to the upstream dependency it relies on no longer being maintained. The code remains available for reference, but no further updates or fixes will be provided. Users should consider migrating to actively supported alternatives.
|
|
9
|
+
|
|
5
10
|
## How do I get started?
|
|
6
11
|
|
|
7
12
|
Install the gem using:
|
|
@@ -51,16 +56,12 @@ Apache 2.0 license. See [LICENSE][license-github] for more information.
|
|
|
51
56
|
|
|
52
57
|
## HTTP semantic convention stability
|
|
53
58
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
To facilitate the migration to stable semantic conventions, you can use the `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable. This variable allows you to opt-in to the new stable conventions, ensuring compatibility and future-proofing your instrumentation.
|
|
59
|
+
This instrumentation by default emits the stable HTTP semantic conventions. The `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable can be used to opt-in to the old or duplicate (both old and stable) semantic conventions.
|
|
57
60
|
|
|
58
61
|
When setting the value for `OTEL_SEMCONV_STABILITY_OPT_IN`, you can specify which conventions you wish to adopt:
|
|
59
62
|
|
|
60
|
-
- `http` - Emits the stable HTTP and networking conventions
|
|
61
|
-
- `http/dup` - Emits both the old and stable HTTP and networking conventions
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
During the transition from old to stable conventions, RestClient instrumentation code comes in three patch versions: `dup`, `old`, and `stable`. These versions are identical except for the attributes they send. Any changes to RestClient instrumentation should consider all three patches.
|
|
63
|
+
- `http` - Emits the stable HTTP and networking conventions.
|
|
64
|
+
- `http/dup` - **DEPRECATED: Will be removed on April 15, 2026.** Emits both the old and stable HTTP and networking conventions.
|
|
65
|
+
- `old` - **DEPRECATED: Will be removed on April 15, 2026.** Emits the old HTTP and networking conventions.
|
|
65
66
|
|
|
66
|
-
For additional information on migration, please refer to our [documentation](https://opentelemetry.io/docs/specs/semconv/non-normative/http-migration/).
|
|
67
|
+
For additional information on migration, please refer to our [documentation](https://opentelemetry.io/docs/specs/semconv/non-normative/http-migration/).
|
|
@@ -29,14 +29,20 @@ module OpenTelemetry
|
|
|
29
29
|
values = stability_opt_in.split(',').map(&:strip)
|
|
30
30
|
|
|
31
31
|
if values.include?('http/dup')
|
|
32
|
+
emit_old_semconv_deprecation_warning('http/dup')
|
|
32
33
|
'dup'
|
|
33
|
-
elsif values.include?('
|
|
34
|
-
'
|
|
35
|
-
else
|
|
34
|
+
elsif values.include?('old')
|
|
35
|
+
emit_old_semconv_deprecation_warning('old')
|
|
36
36
|
'old'
|
|
37
|
+
else
|
|
38
|
+
'stable'
|
|
37
39
|
end
|
|
38
40
|
end
|
|
39
41
|
|
|
42
|
+
def emit_old_semconv_deprecation_warning(option)
|
|
43
|
+
OpenTelemetry.logger.warn("The `#{option}` option for OTEL_SEMCONV_STABILITY_OPT_IN is deprecated and will be removed on April 15, 2026. Please migrate to the stable HTTP semantic conventions.")
|
|
44
|
+
end
|
|
45
|
+
|
|
40
46
|
def require_dependencies_dup
|
|
41
47
|
require_relative 'patches/dup/request'
|
|
42
48
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opentelemetry-instrumentation-restclient
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.27.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenTelemetry Authors
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: opentelemetry-instrumentation-base
|
|
@@ -47,11 +46,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
|
47
46
|
licenses:
|
|
48
47
|
- Apache-2.0
|
|
49
48
|
metadata:
|
|
50
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.
|
|
49
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.27.0/file/CHANGELOG.md
|
|
51
50
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/restclient
|
|
52
51
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
|
53
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.
|
|
54
|
-
post_install_message:
|
|
52
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-restclient/0.27.0
|
|
55
53
|
rdoc_options: []
|
|
56
54
|
require_paths:
|
|
57
55
|
- lib
|
|
@@ -66,8 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
64
|
- !ruby/object:Gem::Version
|
|
67
65
|
version: '0'
|
|
68
66
|
requirements: []
|
|
69
|
-
rubygems_version:
|
|
70
|
-
signing_key:
|
|
67
|
+
rubygems_version: 4.0.3
|
|
71
68
|
specification_version: 4
|
|
72
69
|
summary: REST Client instrumentation for the OpenTelemetry framework
|
|
73
70
|
test_files: []
|