opentelemetry-instrumentation-active_support 0.2.1 → 0.3.0
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: cfcf89481aac5a7aa04656664ec69783bc4c95fa728cff0731565bcb2b187bff
|
4
|
+
data.tar.gz: 1abba1ddb9eeed1da5bde82b8e67ca61aaa6f3dff1af8c7a2f562f489bb74ab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6e7a1346d085079fb90d9c953591850e4de21dc77936da728ccd601ce9637ebc77d72062d4cab6f8d44a030324f5ca49741939fea1f5c96ba85bc4d08302933
|
7
|
+
data.tar.gz: fd25af3cff46d84834924865544b5d6cced2000cc49aa0c1cfa6bb32d781d78a1b636cb1015adf7720495e9f96af65332ed05b4ed2733073d4a433e564b3ed43
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-active_support
|
2
2
|
|
3
|
+
### v0.3.0 / 2023-02-01
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Drop Rails 5 Support
|
6
|
+
|
7
|
+
* ADDED: Drop Rails 5 Support
|
8
|
+
|
9
|
+
### v0.2.2 / 2023-01-14
|
10
|
+
|
11
|
+
* FIXED: Drop Rails dependency for ActiveSupport Instrumentation
|
12
|
+
|
3
13
|
### v0.2.1 / 2023-01-14
|
4
14
|
|
5
15
|
* DOCS: Fix gem homepage
|
@@ -14,7 +14,7 @@ module OpenTelemetry
|
|
14
14
|
|
15
15
|
# A very hacky way to make sure that OpenTelemetry::Instrumentation::ActiveSupport::SpanSubscriber
|
16
16
|
# gets invoked first
|
17
|
-
#
|
17
|
+
# Rails 6+ https://github.com/rails/rails/blob/0f0ec9908e25af36df2d937dc431f626a4102b3d/activesupport/lib/active_support/notifications/fanout.rb#L51
|
18
18
|
def self.subscribe(
|
19
19
|
tracer,
|
20
20
|
pattern,
|
@@ -29,13 +29,20 @@ module OpenTelemetry
|
|
29
29
|
)
|
30
30
|
|
31
31
|
subscriber_object = ::ActiveSupport::Notifications.subscribe(pattern, subscriber)
|
32
|
+
|
32
33
|
::ActiveSupport::Notifications.notifier.synchronize do
|
33
|
-
|
34
|
-
|
35
|
-
|
34
|
+
subscribers = ::ActiveSupport::Notifications.notifier.instance_variable_get(:@string_subscribers)[pattern]
|
35
|
+
|
36
|
+
if subscribers.nil?
|
37
|
+
OpenTelemetry.handle_error(
|
38
|
+
message: 'Unable to move OTEL ActiveSupport Notifications subscriber to the front of the notifications list which may cause incomplete traces.' \
|
39
|
+
'Please report an issue here: ' \
|
40
|
+
'https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues/new?labels=bug&template=bug_report.md&title=ActiveSupport%20Notifications%20subscribers%20list%20is%20nil'
|
41
|
+
)
|
36
42
|
else
|
37
|
-
|
38
|
-
|
43
|
+
subscribers.unshift(
|
44
|
+
subscribers.delete(subscriber_object)
|
45
|
+
)
|
39
46
|
end
|
40
47
|
end
|
41
48
|
subscriber_object
|
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.3.0
|
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-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.21.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activesupport
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: appraisal
|
43
57
|
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.3.0/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.3.0
|
262
276
|
post_install_message:
|
263
277
|
rdoc_options: []
|
264
278
|
require_paths:
|