opentelemetry-instrumentation-base 0.22.0 → 0.22.2
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: a80537963b43bf6ed4bb2a60a7ad6d11f13ebb2868d8c2a486f6c0c6fbdbc880
|
4
|
+
data.tar.gz: 821f40a647e4499fcb47d70fdfc2eb0f4924a9173a11e59150a702a171f68574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73f424b8d211cb2d2518d4a96c3bebbf1fe775bbccf17d8e1e383bfd87fb7e0f9c09a08905433dab002a1c6837e6216de69c66dbfbd5d22216163e340013ee8d
|
7
|
+
data.tar.gz: 167b3c4dc090350001b870837ee913cc7e950121ef7ca5fe11111d3bb7a627559d36920402e584a64982a733a77f558102a5ea19751e993101e5c2326c3d89f6
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-base
|
2
2
|
|
3
|
+
### v0.22.1 / 2023-06-02
|
4
|
+
|
5
|
+
* feat: make config available to compatible blocks #453
|
6
|
+
|
3
7
|
### v0.22.0 / 2023-04-16
|
4
8
|
|
5
9
|
* BREAKING CHANGE: Drop support for EoL Ruby 2.7
|
6
10
|
|
7
|
-
* ADDED: Drop support for EoL Ruby 2.7
|
11
|
+
* ADDED: Drop support for EoL Ruby 2.7
|
8
12
|
|
9
13
|
### v0.21.1 / 2023-01-14
|
10
14
|
|
11
|
-
* DOCS: Fix gem homepage
|
12
|
-
* DOCS: More gem documentation fixes
|
15
|
+
* DOCS: Fix gem homepage
|
16
|
+
* DOCS: More gem documentation fixes
|
13
17
|
|
14
18
|
### v0.21.0 / 2022-05-26
|
15
19
|
|
@@ -18,12 +22,12 @@
|
|
18
22
|
|
19
23
|
### v0.20.0 / 2022-05-02
|
20
24
|
|
21
|
-
* ADDED: Validate Using Enums
|
22
|
-
* FIXED: RubyGems Fallback
|
25
|
+
* ADDED: Validate Using Enums
|
26
|
+
* FIXED: RubyGems Fallback
|
23
27
|
|
24
28
|
### v0.19.0 / 2021-12-01
|
25
29
|
|
26
|
-
* ADDED: Add default options config helper + env var config option support
|
30
|
+
* ADDED: Add default options config helper + env var config option support
|
27
31
|
|
28
32
|
### v0.18.3 / 2021-09-29
|
29
33
|
|
@@ -45,3 +49,7 @@
|
|
45
49
|
### v0.17.0 / 2021-04-22
|
46
50
|
|
47
51
|
* Initial release.
|
52
|
+
|
53
|
+
### v0.22.2 / 2023-08-03
|
54
|
+
|
55
|
+
* FIXED: Remove inline linter rules
|
@@ -215,9 +215,10 @@ module OpenTelemetry
|
|
215
215
|
# @param [Hash] config The config for this instrumentation
|
216
216
|
def install(config = {})
|
217
217
|
return true if installed?
|
218
|
-
return false unless installable?(config)
|
219
218
|
|
220
219
|
@config = config_options(config)
|
220
|
+
return false unless installable?(config)
|
221
|
+
|
221
222
|
instance_exec(@config, &@install_blk)
|
222
223
|
@tracer = OpenTelemetry.tracer_provider.tracer(name, version)
|
223
224
|
@installed = true
|
@@ -268,7 +269,7 @@ module OpenTelemetry
|
|
268
269
|
# Invalid configuration values are logged, and replaced by the default.
|
269
270
|
#
|
270
271
|
# @param [Hash] user_config The user supplied configuration hash
|
271
|
-
def config_options(user_config)
|
272
|
+
def config_options(user_config)
|
272
273
|
@options ||= {}
|
273
274
|
user_config ||= {}
|
274
275
|
config_overrides = config_overrides_from_env
|
@@ -347,7 +348,7 @@ module OpenTelemetry
|
|
347
348
|
environment_config_overrides
|
348
349
|
end
|
349
350
|
|
350
|
-
def coerce_env_var(env_var, validation_type)
|
351
|
+
def coerce_env_var(env_var, validation_type)
|
351
352
|
case validation_type
|
352
353
|
when :array
|
353
354
|
env_var.split(',').map(&:strip)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.2
|
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
|
+
date: 2023-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.55.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.55.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,10 +169,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
169
169
|
licenses:
|
170
170
|
- Apache-2.0
|
171
171
|
metadata:
|
172
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.
|
172
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.2/file/CHANGELOG.md
|
173
173
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/base
|
174
174
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
175
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.
|
175
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.2
|
176
176
|
post_install_message:
|
177
177
|
rdoc_options: []
|
178
178
|
require_paths:
|