rails_opentracer 0.1.9 → 0.1.11
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 007ca17a4ad25db920ca7eae59ba68e559e37f85
|
4
|
+
data.tar.gz: 9a83643f92c493d142701e7c816b8d95be94665b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7634b42f68e69d180dda12ee0e9b45cf44c2b785b23b07b18eb7d9fb6ce54fb57a3579ef1af251cb2a9373d52044185148baa38013bb81764e2a875abdbe9d3e
|
7
|
+
data.tar.gz: 101fcdfc155b67964d8c528abab6ef1cacfff54bfb328c62f56c76d7d4e3d02ecdc89c12ecaddfc556ca5569c916cc444373c2c86c7c78fca37043e7359b9644
|
@@ -6,7 +6,7 @@ module ActiveRecord
|
|
6
6
|
def instrument(tracer: OpenTracing.global_tracer, active_span: nil)
|
7
7
|
clear_subscribers
|
8
8
|
@subscriber = ::ActiveSupport::Notifications.subscribe('sql.active_record') do |*args|
|
9
|
-
ActiveRecord::
|
9
|
+
ActiveRecord::Opentracer.sql(tracer: tracer, active_span: active_span, args: args)
|
10
10
|
end
|
11
11
|
|
12
12
|
self
|