simple_apm 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_apm.rb +4 -4
- data/lib/simple_apm/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: '0788a278666b619108511b355faf6e753efd77f91af407b9d970a6e94546e5a8'
|
4
|
+
data.tar.gz: b9c74722038adf1377802becec05688efff134f87d144f5f8036b303720ffd54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98c2ea0efdf65da918f63dd9f7e0c0e3ad5206e511aec00b695ba9509e03d4b87c7023db9361bbf458f772965edf4ffd1840942d4cd3361cae0349009d1948f2
|
7
|
+
data.tar.gz: 10c7e14e85a49bfab9587b445bc8bbe5ab207ac0ff9b731eb0d499fafb800b4e23e02d4fa8b5d4c93c6ec799b4a676966572dfc3e3b3d4b63aec95945d9bf3dd
|
data/lib/simple_apm.rb
CHANGED
@@ -33,8 +33,8 @@ module SimpleApm
|
|
33
33
|
SimpleApm::Sql.delete_by_request_id(request_id)
|
34
34
|
end
|
35
35
|
end
|
36
|
-
|
37
|
-
|
36
|
+
rescue => e
|
37
|
+
Logger.new("#{Rails.root}/log/simple_apm.log").info e.backtrace
|
38
38
|
end
|
39
39
|
|
40
40
|
ActiveSupport::Notifications.subscribe 'sql.active_record' do |name, started, finished, unique_id, payload|
|
@@ -59,7 +59,7 @@ module SimpleApm
|
|
59
59
|
}.with_indifferent_access
|
60
60
|
SimpleApm::Sql.create request_id, info
|
61
61
|
end
|
62
|
-
|
63
|
-
|
62
|
+
rescue => e
|
63
|
+
Logger.new("#{Rails.root}/log/simple_apm.log").info e.backtrace
|
64
64
|
end
|
65
65
|
end
|
data/lib/simple_apm/version.rb
CHANGED