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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f72ecf67b90dc375964fe554ae3b088f00197a0a93d8d18538804a9d74c78361
4
- data.tar.gz: 9f0aa6b00d6431beba25056654314c884b83203af85523b6186f223ec28778b6
3
+ metadata.gz: '0788a278666b619108511b355faf6e753efd77f91af407b9d970a6e94546e5a8'
4
+ data.tar.gz: b9c74722038adf1377802becec05688efff134f87d144f5f8036b303720ffd54
5
5
  SHA512:
6
- metadata.gz: 22505327543b32bc01d3475e9ccaaef8052fcaa09b3b67c0151b336bd0d7532a1985b857c8cd3a44d685cfdc0a1c3835d65d33a9ef87914fcea41b6ce162c55d
7
- data.tar.gz: 6210204216314aee3c857935bb1c648066871aa7ae246fff7c96853544e001b26a4395857b44a4db69eae23c60d80dde35e8dcdc472cd0d7aaad53aa227846c5
6
+ metadata.gz: 98c2ea0efdf65da918f63dd9f7e0c0e3ad5206e511aec00b695ba9509e03d4b87c7023db9361bbf458f772965edf4ffd1840942d4cd3361cae0349009d1948f2
7
+ data.tar.gz: 10c7e14e85a49bfab9587b445bc8bbe5ab207ac0ff9b731eb0d499fafb800b4e23e02d4fa8b5d4c93c6ec799b4a676966572dfc3e3b3d4b63aec95945d9bf3dd
@@ -33,8 +33,8 @@ module SimpleApm
33
33
  SimpleApm::Sql.delete_by_request_id(request_id)
34
34
  end
35
35
  end
36
- # rescue => e
37
- # Logger.new("#{Rails.root}/log/simple_apm.log").info e.inspect
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
- # rescue => e
63
- # Logger.new("#{Rails.root}/log/simple_apm.log").info e.inspect
62
+ rescue => e
63
+ Logger.new("#{Rails.root}/log/simple_apm.log").info e.backtrace
64
64
  end
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleApm
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuanyin.xia