netuitive_rails_agent 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/netuitive/action_controller.rb +3 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8dd8fcbc638507db882c9c293f50885dae3baed
|
4
|
+
data.tar.gz: 1fc7ac7d737e1db4587695a2642430f21abbfb4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b41de978ef983078dcbc54ad38ed05b09683c2cfb7fae2c9db106baecbcce838c26ade5ee48f57fdc3f0b14f7bd43d09a2986aa7e0b46b2d47e17f0637169abe
|
7
|
+
data.tar.gz: 3956b709d9a6cec7fff8214a6156207c3964003d988fcc1bc1fa20798dc25b46c63ec0ca1d8fd45465723aa27c780bb15a7609a68fbd0ed10eb3275dffeee181
|
@@ -57,27 +57,21 @@ module NetuitiveActionControllerSub
|
|
57
57
|
begin
|
58
58
|
NetuitiveRubyAPI::netuitivedServer.aggregateMetric("action_controller.sent_file", 1)
|
59
59
|
rescue
|
60
|
-
|
61
|
-
puts "failure to communicate to netuitived"
|
62
|
-
end
|
60
|
+
NetuitiveLogger.log.error "failure to communicate to netuitived"
|
63
61
|
end
|
64
62
|
end
|
65
63
|
ActiveSupport::Notifications.subscribe /redirect_to.action_controller/ do |*args|
|
66
64
|
begin
|
67
65
|
NetuitiveRubyAPI::netuitivedServer.aggregateMetric("action_controller.redirect", 1)
|
68
66
|
rescue
|
69
|
-
|
70
|
-
puts "failure to communicate to netuitived"
|
71
|
-
end
|
67
|
+
NetuitiveLogger.log.error "failure to communicate to netuitived"
|
72
68
|
end
|
73
69
|
end
|
74
70
|
ActiveSupport::Notifications.subscribe /halted_callback.action_controller/ do |*args|
|
75
71
|
begin
|
76
72
|
NetuitiveRubyAPI::netuitivedServer.aggregateMetric("action_controller.halted_callback", 1)
|
77
73
|
rescue
|
78
|
-
|
79
|
-
puts "failure to communicate to netuitived"
|
80
|
-
end
|
74
|
+
NetuitiveLogger.log.error "failure to communicate to netuitived"
|
81
75
|
end
|
82
76
|
end
|
83
77
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netuitive_rails_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John King
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: netuitive_ruby_api
|