opentelemetry-instrumentation-action_view 0.1.0 → 0.1.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: 5b3f3f4d5895687d7a605b46bf5d7157867f0e9741e67682c7e46b911a56ae04
|
4
|
+
data.tar.gz: cc5da52def88dc15c79eaf45bc8818723d86d486017917d153f12144c453f851
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c80baa29054a4c48526b8a0cf0a6062af1d7632b8bf685a534fac1877948cf1c1e1620bf4ac44ce3e1f3742de3332241a09ace05befef625dd07258bc6a1e1e7
|
7
|
+
data.tar.gz: 9b18a5a6f11fb3d909f156d490ca17b829a4accf2e512d7b10544fac0bb2fa494bd3291f565d0e921c6c2c2e2f190baf75651099d5fa2005611732db939f58ae
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
# Copyright The OpenTelemetry Authors
|
4
4
|
#
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
|
+
#
|
7
|
+
require 'delegate'
|
6
8
|
|
7
9
|
module OpenTelemetry
|
8
10
|
module Instrumentation
|
@@ -10,7 +12,11 @@ module OpenTelemetry
|
|
10
12
|
# This is a replacement for the default Fanout notifications queue, which adds special
|
11
13
|
# handling around returned context from the SpanSubscriber notification handlers.
|
12
14
|
# Used together, it allows us to trace arbitrary ActiveSupport::Notifications safely.
|
13
|
-
class Fanout < ::ActiveSupport::Notifications::Fanout
|
15
|
+
class Fanout < DelegateClass(::ActiveSupport::Notifications::Fanout)
|
16
|
+
def initialize(notifier = ::ActiveSupport::Notifications::Fanout.new)
|
17
|
+
super(notifier)
|
18
|
+
end
|
19
|
+
|
14
20
|
def start(name, id, payload)
|
15
21
|
listeners_for(name).map do |s|
|
16
22
|
result = [s]
|
@@ -16,7 +16,7 @@ module OpenTelemetry
|
|
16
16
|
# This Railtie sets up subscriptions to relevant ActionView notifications
|
17
17
|
class Railtie < ::Rails::Railtie
|
18
18
|
config.before_initialize do
|
19
|
-
::ActiveSupport::Notifications.notifier = Fanout.new
|
19
|
+
::ActiveSupport::Notifications.notifier = Fanout.new(::ActiveSupport::Notifications.notifier)
|
20
20
|
end
|
21
21
|
|
22
22
|
config.after_initialize do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-instrumentation-action_view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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: 2021-
|
11
|
+
date: 2021-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -215,10 +215,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
215
215
|
licenses:
|
216
216
|
- Apache-2.0
|
217
217
|
metadata:
|
218
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_view/v0.1.
|
218
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_view/v0.1.1/file.CHANGELOG.html
|
219
219
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/action_view
|
220
220
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
221
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_view/v0.1.
|
221
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-action_view/v0.1.1
|
222
222
|
post_install_message:
|
223
223
|
rdoc_options: []
|
224
224
|
require_paths:
|