opentelemetry-instrumentation-active_support 0.4.4 → 0.5.1
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: 8155a18f410f16b78236effec355ced0afde41f28fcadbd5ce784de094905452
|
4
|
+
data.tar.gz: a9460a310301f3aabcf5676236435bbaf097241dbe930c711a96c73cb95c988b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 007fef18454feed53b827dd3058b8911153d0e9835fcedb0d2c658230d911e552979386f404324e6c94efb5fcce087180073ce5ca761d53dee1c28392e8f6636
|
7
|
+
data.tar.gz: f6a86aec5dda8669c2ead5a05a254203cf957cd6332f448d0f9d4bc10e7065562b4a1c4057031c68bf4090c43f2d86d5d8ec0daa22bdd59f67518c12ccf9797a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-active_support
|
2
2
|
|
3
|
+
### v0.5.1 / 2023-11-23
|
4
|
+
|
5
|
+
* CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
|
6
|
+
|
7
|
+
### v0.5.0 / 2023-11-22
|
8
|
+
|
9
|
+
* BREAKING CHANGE: Drop Rails 6.0 EOL
|
10
|
+
|
11
|
+
* ADDED: Drop Rails 6.0 EOL
|
12
|
+
|
3
13
|
### v0.4.4 / 2023-10-31
|
4
14
|
|
5
15
|
* FIXED: Remove call to ActiveSupport::Notifications.notifier#synchronize deprecated in Rails 7.2
|
@@ -9,6 +9,8 @@ module OpenTelemetry
|
|
9
9
|
module ActiveSupport
|
10
10
|
# The Instrumentation class contains logic to detect and install the ActiveSupport instrumentation
|
11
11
|
class Instrumentation < OpenTelemetry::Instrumentation::Base
|
12
|
+
MINIMUM_VERSION = Gem::Version.new('6.1.0')
|
13
|
+
|
12
14
|
install do |_config|
|
13
15
|
require_dependencies
|
14
16
|
end
|
@@ -17,8 +19,16 @@ module OpenTelemetry
|
|
17
19
|
defined?(::ActiveSupport)
|
18
20
|
end
|
19
21
|
|
22
|
+
compatible do
|
23
|
+
gem_version >= MINIMUM_VERSION
|
24
|
+
end
|
25
|
+
|
20
26
|
private
|
21
27
|
|
28
|
+
def gem_version
|
29
|
+
::ActiveSupport.version
|
30
|
+
end
|
31
|
+
|
22
32
|
def require_dependencies
|
23
33
|
require_relative 'span_subscriber'
|
24
34
|
end
|
@@ -67,10 +67,8 @@ module OpenTelemetry
|
|
67
67
|
token = OpenTelemetry::Context.attach(
|
68
68
|
OpenTelemetry::Trace.context_with_span(span)
|
69
69
|
)
|
70
|
-
payload
|
71
|
-
|
72
|
-
__opentelemetry_ctx_token: token
|
73
|
-
)
|
70
|
+
payload[:__opentelemetry_span] = span
|
71
|
+
payload[:__opentelemetry_ctx_token] = token
|
74
72
|
|
75
73
|
[span, token]
|
76
74
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-active_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
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-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '6'
|
159
|
+
version: '6.1'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '6'
|
166
|
+
version: '6.1'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rake
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 1.56.1
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop-performance
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.19.1
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 1.19.1
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: simplecov
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -255,10 +269,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
|
255
269
|
licenses:
|
256
270
|
- Apache-2.0
|
257
271
|
metadata:
|
258
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.
|
272
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.5.1/file/CHANGELOG.md
|
259
273
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_support
|
260
274
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
261
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.
|
275
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-active_support/0.5.1
|
262
276
|
post_install_message:
|
263
277
|
rdoc_options: []
|
264
278
|
require_paths:
|