opentelemetry-instrumentation-base 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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/opentelemetry/instrumentation/base.rb +12 -0
- data/lib/opentelemetry/instrumentation/version.rb +1 -1
- metadata +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f6e531e85a3fa060f3b88fdf1c23f7b0d9099ab800e7a1d81dd4fcfc446a3ab
|
4
|
+
data.tar.gz: 3a21d329371b1aedba7a14a38d3f5cfe2e1ba5617ff22c91ebce635b9f7f1c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a72ce4aa13c65c1eae23396a1959db319ccc324abddc855803a78d62e477d09fa11a4769526f1dd47af5b1cc70c463d9f25d4e964c036cbe3de3d85b43397ae9
|
7
|
+
data.tar.gz: 3681b7a09c821127ef7fbf610699c9e330cd8f1547dcbc56fa36c0cbf938af6a99f465ea2bdb1145116ac69c4a217a506a9b1e1e181c5ac5ff1d453b33e3b841
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-base
|
2
2
|
|
3
|
+
### v0.22.4 / 2024-06-18
|
4
|
+
|
5
|
+
* FIXED: Relax otel common gem constraints
|
6
|
+
* DOCS: Add function doc for config_overrides_from_env
|
7
|
+
|
3
8
|
### v0.22.3 / 2023-11-23
|
4
9
|
|
5
10
|
* CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
|
@@ -326,6 +326,18 @@ module OpenTelemetry
|
|
326
326
|
ENV[var_name] != 'false'
|
327
327
|
end
|
328
328
|
|
329
|
+
# Checks to see if the user has passed any environment variables that set options
|
330
|
+
# for instrumentation. By convention, the environment variable will be the name
|
331
|
+
# of the instrumentation, uppercased, with '::' replaced by underscores,
|
332
|
+
# OPENTELEMETRY shortened to OTEL_{LANG}, and _CONFIG_OPTS appended.
|
333
|
+
# For example, the environment variable name for OpenTelemetry::Instrumentation::Faraday
|
334
|
+
# will be OTEL_RUBY_INSTRUMENTATION_FARADAY_CONFIG_OPTS. A value of 'peer_service=new_service;'
|
335
|
+
# will override the options set from ::OpenTelemetry::SDK.configure do |c| ... end for Faraday.
|
336
|
+
#
|
337
|
+
# For an array option, simply separate the values with commas (e.g., option=a,b,c,d).
|
338
|
+
# For a boolean option, set the value to true or false (e.g., option=true).
|
339
|
+
# For integer, string, enum, set the value as a string (e.g., option=string).
|
340
|
+
# Callable options are not allowed to be set through environment variables.
|
329
341
|
def config_overrides_from_env
|
330
342
|
var_name = name.dup.tap do |n|
|
331
343
|
n.upcase!
|
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.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:
|
11
|
+
date: 2024-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: opentelemetry-common
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.21'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.21'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: opentelemetry-registry
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,28 +114,28 @@ dependencies:
|
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
117
|
+
version: 1.64.0
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
124
|
+
version: 1.64.0
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rubocop-performance
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
131
|
+
version: '1.20'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
138
|
+
version: '1.20'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: simplecov
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,10 +183,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
169
183
|
licenses:
|
170
184
|
- Apache-2.0
|
171
185
|
metadata:
|
172
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.
|
186
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.4/file/CHANGELOG.md
|
173
187
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/base
|
174
188
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
175
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.
|
189
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-base/0.22.4
|
176
190
|
post_install_message:
|
177
191
|
rdoc_options: []
|
178
192
|
require_paths:
|