opentelemetry-instrumentation-base 0.25.0 → 0.26.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 +4 -4
- data/CHANGELOG.md +93 -88
- data/README.md +2 -2
- data/lib/opentelemetry/instrumentation/base.rb +2 -2
- data/lib/opentelemetry/instrumentation/version.rb +1 -1
- metadata +7 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 982e76350019df155ce8df403dc965a1a76f2e70d3b059b318e6e7cdc17aad4c
|
|
4
|
+
data.tar.gz: f9b1cffdc3c4f5fe0f4ebed0ffc2d3a9069a3a75ee67989916afec2da737931e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c99f617f5acb69b26e777fb3a4410b499ffd25d2aba254ef16d0ebbe4fb160889bc4e1125f3693df7faf2d40327faf52ed79b927293864dcd4743e575adfcbe6
|
|
7
|
+
data.tar.gz: 0e2470ef6be891b98980628043fe1e4508a030265b8c6e301c66a1daa741e49e9d50dfcb8bc566b37b1f64012017f268cdc375df68257be036e152eb3df6af65
|
data/CHANGELOG.md
CHANGED
|
@@ -1,88 +1,93 @@
|
|
|
1
|
-
# Release History: opentelemetry-instrumentation-base
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+
# Release History: opentelemetry-instrumentation-base
|
|
2
|
+
|
|
3
|
+
## v0.26.0 / 2026-04-14
|
|
4
|
+
|
|
5
|
+
- BREAKING CHANGE: Min Ruby Version 3.3 (#2125)
|
|
6
|
+
- ADDED: Min Ruby Version 3.3 (#2125)
|
|
7
|
+
- ADDED: Add release tag into source code url of gem metadata (#1984)
|
|
8
|
+
|
|
9
|
+
## v0.25.0 / 2025-10-22
|
|
10
|
+
|
|
11
|
+
- BREAKING CHANGE: Min Ruby Version 3.2
|
|
12
|
+
|
|
13
|
+
- ADDED: Min Ruby Version 3.2
|
|
14
|
+
|
|
15
|
+
## v0.24.0 / 2025-09-30
|
|
16
|
+
|
|
17
|
+
- ADDED: Bump minimum API Version to 1.7
|
|
18
|
+
|
|
19
|
+
## v0.23.0 / 2025-01-16
|
|
20
|
+
|
|
21
|
+
- BREAKING CHANGE: Set minimum supported version to Ruby 3.1
|
|
22
|
+
|
|
23
|
+
- ADDED: Set minimum supported version to Ruby 3.1
|
|
24
|
+
|
|
25
|
+
## v0.22.6 / 2024-08-15
|
|
26
|
+
|
|
27
|
+
- FIXED: Fix the issue of wrong log msg
|
|
28
|
+
|
|
29
|
+
## v0.22.5 / 2024-07-23
|
|
30
|
+
|
|
31
|
+
- DOCS: Add cspell to CI
|
|
32
|
+
|
|
33
|
+
## v0.22.4 / 2024-06-18
|
|
34
|
+
|
|
35
|
+
- FIXED: Relax otel common gem constraints
|
|
36
|
+
- DOCS: Add function doc for config_overrides_from_env
|
|
37
|
+
|
|
38
|
+
## v0.22.3 / 2023-11-23
|
|
39
|
+
|
|
40
|
+
- CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
|
|
41
|
+
|
|
42
|
+
## v0.22.2 / 2023-08-03
|
|
43
|
+
|
|
44
|
+
- FIXED: Remove inline linter rules
|
|
45
|
+
|
|
46
|
+
## v0.22.1 / 2023-06-02
|
|
47
|
+
|
|
48
|
+
- feat: make config available to compatible blocks #453
|
|
49
|
+
|
|
50
|
+
## v0.22.0 / 2023-04-16
|
|
51
|
+
|
|
52
|
+
- BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
|
53
|
+
|
|
54
|
+
- ADDED: Drop support for EoL Ruby 2.7
|
|
55
|
+
|
|
56
|
+
## v0.21.1 / 2023-01-14
|
|
57
|
+
|
|
58
|
+
- DOCS: Fix gem homepage
|
|
59
|
+
- DOCS: More gem documentation fixes
|
|
60
|
+
|
|
61
|
+
## v0.21.0 / 2022-05-26
|
|
62
|
+
|
|
63
|
+
- BREAKING CHANGE: This requires upgrading both the SDK and Instrumentation gem in tandem
|
|
64
|
+
|
|
65
|
+
## v0.20.0 / 2022-05-02
|
|
66
|
+
|
|
67
|
+
- ADDED: Validate Using Enums
|
|
68
|
+
- FIXED: RubyGems Fallback
|
|
69
|
+
|
|
70
|
+
## v0.19.0 / 2021-12-01
|
|
71
|
+
|
|
72
|
+
- ADDED: Add default options config helper + env var config option support
|
|
73
|
+
|
|
74
|
+
## v0.18.3 / 2021-09-29
|
|
75
|
+
|
|
76
|
+
- (No significant changes)
|
|
77
|
+
|
|
78
|
+
## v0.18.2 / 2021-08-12
|
|
79
|
+
|
|
80
|
+
- (No significant changes)
|
|
81
|
+
|
|
82
|
+
## v0.18.1 / 2021-06-23
|
|
83
|
+
|
|
84
|
+
- (No significant changes)
|
|
85
|
+
|
|
86
|
+
## v0.18.0 / 2021-05-21
|
|
87
|
+
|
|
88
|
+
- ADDED: Updated API dependency for 1.0.0.rc1
|
|
89
|
+
- FIXED: Missing instrumentation classes during configuration
|
|
90
|
+
|
|
91
|
+
## v0.17.0 / 2021-04-22
|
|
92
|
+
|
|
93
|
+
- Initial release.
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenTelemetry Instrumentation Base
|
|
2
2
|
|
|
3
|
-
The `opentelemetry-instrumentation-base` gem contains the instrumentation base class, and the instrumentation registry.
|
|
3
|
+
The `opentelemetry-instrumentation-base` gem contains the instrumentation base class, and the instrumentation registry. These modules provide a common interface to support the installation of auto instrumentation libraries. The instrumentation base is responsible for adding itself to the instrumentation registry as well as providing convenience hooks for the installation process. The instrumentation registry contains all the instrumentation to be installed during the SDK configuration process.
|
|
4
4
|
|
|
5
5
|
## How do I get started?
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-b
|
|
|
14
14
|
|
|
15
15
|
### For SDK Authors
|
|
16
16
|
|
|
17
|
-
The following is a simplified demonstration of how the `OpenTelemetry::Instrumentation.registry` can be used by an SDK to install auto-instrumentation gems as part of its configuration.
|
|
17
|
+
The following is a simplified demonstration of how the `OpenTelemetry::Instrumentation.registry` can be used by an SDK to install auto-instrumentation gems as part of its configuration. This should not be used as an example of how to implement an SDK as there are large omissions. For an example of a complete implementation see the `opentelemetry-sdk` gem.
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'bundler/inline'
|
|
@@ -42,7 +42,7 @@ module OpenTelemetry
|
|
|
42
42
|
# The instrumentation name and version will be inferred from the namespace of the
|
|
43
43
|
# class. In this example, they'd be 'OpenTelemetry::Instrumentation::Sinatra' and
|
|
44
44
|
# OpenTelemetry::Instrumentation::Sinatra::VERSION, but can be explicitly set using
|
|
45
|
-
# the +instrumentation_name+ and +
|
|
45
|
+
# the +instrumentation_name+ and +instrumentation_version+ methods if necessary.
|
|
46
46
|
#
|
|
47
47
|
# All subclasses of OpenTelemetry::Instrumentation::Base are automatically
|
|
48
48
|
# registered with OpenTelemetry.instrumentation_registry which is used by
|
|
@@ -328,7 +328,7 @@ module OpenTelemetry
|
|
|
328
328
|
|
|
329
329
|
# Checks to see if the user has passed any environment variables that set options
|
|
330
330
|
# for instrumentation. By convention, the environment variable will be the name
|
|
331
|
-
# of the instrumentation,
|
|
331
|
+
# of the instrumentation, upper-cased, with '::' replaced by underscores,
|
|
332
332
|
# OPENTELEMETRY shortened to OTEL_{LANG}, and _CONFIG_OPTS appended.
|
|
333
333
|
# For example, the environment variable name for OpenTelemetry::Instrumentation::Faraday
|
|
334
334
|
# will be OTEL_RUBY_INSTRUMENTATION_FARADAY_CONFIG_OPTS. A value of 'peer_service=new_service;'
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opentelemetry-instrumentation-base
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.26.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-api
|
|
@@ -71,11 +70,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
|
71
70
|
licenses:
|
|
72
71
|
- Apache-2.0
|
|
73
72
|
metadata:
|
|
74
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.
|
|
75
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/
|
|
73
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.26.0/file/CHANGELOG.md
|
|
74
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/opentelemetry-instrumentation-base/v0.26.0/instrumentation/base
|
|
76
75
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
|
77
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.
|
|
78
|
-
post_install_message:
|
|
76
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.26.0
|
|
79
77
|
rdoc_options: []
|
|
80
78
|
require_paths:
|
|
81
79
|
- lib
|
|
@@ -83,15 +81,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
83
81
|
requirements:
|
|
84
82
|
- - ">="
|
|
85
83
|
- !ruby/object:Gem::Version
|
|
86
|
-
version: '3.
|
|
84
|
+
version: '3.3'
|
|
87
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
86
|
requirements:
|
|
89
87
|
- - ">="
|
|
90
88
|
- !ruby/object:Gem::Version
|
|
91
89
|
version: '0'
|
|
92
90
|
requirements: []
|
|
93
|
-
rubygems_version:
|
|
94
|
-
signing_key:
|
|
91
|
+
rubygems_version: 4.0.6
|
|
95
92
|
specification_version: 4
|
|
96
93
|
summary: Instrumentation Base for the OpenTelemetry framework
|
|
97
94
|
test_files: []
|