raygun-apm-rails 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raygun/apm/rails/middleware.rb +3 -2
- data/lib/raygun/apm/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79129467782cc432e61c5ea57a109612ad3e7e4d286e60e7a86d13d3f7b54df7
|
4
|
+
data.tar.gz: 714b18712b89e3b1b04c133456d7616b9e64fa075206c20407921927f8c97b29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e735bf886b0b92a85a621e1456e2d0fc0dab6b4dae4186460449f82fb90cb243cac36fdae4a17731f86ff306d7bed0adcea82a097b11ce962898e8243707715
|
7
|
+
data.tar.gz: 0b1d21a719042151dc3ac53f627c9547c73146fe75fe03a511fbd3f9977f243a9bd0f2f3dc59e6cafa95b379102f65ba6052b376255e93a4184e252201327e88
|
@@ -30,7 +30,7 @@ module Raygun
|
|
30
30
|
res = nil
|
31
31
|
# Can be nil if we had a fatal error
|
32
32
|
if @tracer
|
33
|
-
Thread.current
|
33
|
+
Thread.current.thread_variable_set(:_raygun_apm_tracer, @tracer)
|
34
34
|
@tracer.start_trace
|
35
35
|
end
|
36
36
|
res = @app.call(env)
|
@@ -49,7 +49,8 @@ module Raygun
|
|
49
49
|
# Shutdown the tracepoint if enabled to reduce any overhead and stall emission
|
50
50
|
@tracer.tracepoint.stop if @tracer.tracepoint.enabled?
|
51
51
|
# Let the GC clean up the sink thread through the finalizer below
|
52
|
-
@tracer =
|
52
|
+
@tracer = nil
|
53
|
+
Thread.current.thread_variable_set(:_raygun_apm_tracer, nil)
|
53
54
|
end
|
54
55
|
|
55
56
|
def http_in_handler(args)
|