easymon 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of easymon might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f204368be927d7ddb3530068159ad624916d2f8
4
- data.tar.gz: 84e44ae67ccc08e6cc201211916a1679ba2445ea
3
+ metadata.gz: 37ad20e40a9eb00cac3ff063616b106d614a72ba
4
+ data.tar.gz: b90df46d842ff9cb52e9f6bb34fdcd166e4c11a0
5
5
  SHA512:
6
- metadata.gz: 5961a81c4d54907812f649cc0edf6e08a7b876fca7f739b80272fbb77f2b1d88b2cd361e56305d165cbc77968e7bbbce14832836ab6ebe1d33ec68afbfe78700
7
- data.tar.gz: 44c50681f5acd9929004902452dcff91dc2bb7486a4c88c1c2a5639e118cfc5cfa4dd73816d39a31a6b923c84fd94d294d36efafb3624a153b37c7c1e8875903
6
+ metadata.gz: 132bbbd21819511b28bea2e5ce627259ef37286cddf3a2c6ca17b3eea2ccf6b92af28c32ce800f7524a77af645cfebccbdc7211d4ef446b9b194242506a80b04
7
+ data.tar.gz: 071967341f3c6a779c8748209223541fa9ca8ce62b1b6df872bf0b93c7af28d7078fdb0843f56c72b61ef13a8d767753650a71e12341c758a1a6df45edec75cf
@@ -1,4 +1,5 @@
1
1
  require_dependency "easymon/application_controller"
2
+ require "benchmark"
2
3
 
3
4
  module Easymon
4
5
  class ChecksController < ApplicationController
@@ -37,13 +38,13 @@ module Easymon
37
38
 
38
39
  def show
39
40
  check = Easymon::Repository.fetch(params[:check])
40
- result = Easymon::Result.new(check.check)
41
-
42
- message = "#{params[:check]}: #{result.message}"
41
+ check_result = []
42
+ timing = Benchmark.realtime { check_result = check.check }
43
+ result = Easymon::Result.new(check_result, timing)
43
44
 
44
45
  respond_to do |format|
45
- format.any(:text, :html) { render :text => result.message, :status => result.response_status }
46
- format.json { render :json => message, :status => result.response_status }
46
+ format.any(:text, :html) { render :text => result, :status => result.response_status }
47
+ format.json { render :json => result, :status => result.response_status }
47
48
  end
48
49
  end
49
50
 
@@ -1,3 +1,5 @@
1
+ require 'benchmark'
2
+
1
3
  module Easymon
2
4
  class Checklist
3
5
  extend Forwardable
@@ -13,18 +15,25 @@ module Easymon
13
15
 
14
16
  def check
15
17
  self.results = items.inject({}) do |hash, (name, check)|
16
- hash[name] = Easymon::Result.new(check.check)
18
+ check_result = []
19
+ timing = Benchmark.realtime { check_result = check.check }
20
+ hash[name] = Easymon::Result.new(check_result, timing)
17
21
  hash
18
22
  end
19
23
  [self.success?, self.to_s]
20
24
  end
21
25
 
26
+ def timing
27
+ results.values.map{|r| r.timing}.reduce(:+)
28
+ end
29
+
22
30
  def to_text
23
31
  to_s
24
32
  end
25
33
 
26
34
  def to_s
27
- self.results.map{|name, result| "#{name}: #{result.to_s}"}.join("\n")
35
+ self.results.map{|name, result| "#{name}: #{result.to_s}"}.join("\n") +
36
+ "\n - Total Time - " + self.timing.to_s + "s"
28
37
  end
29
38
 
30
39
  def to_json(*args)
@@ -2,10 +2,12 @@ module Easymon
2
2
  class Result
3
3
  attr_accessor :success
4
4
  attr_accessor :message
5
+ attr_accessor :timing
5
6
 
6
- def initialize(result)
7
+ def initialize(result, timing)
7
8
  self.success = result[0]
8
9
  self.message = result[1]
10
+ self.timing = timing
9
11
  end
10
12
 
11
13
  def success?
@@ -17,15 +19,15 @@ module Easymon
17
19
  end
18
20
 
19
21
  def to_s
20
- message
22
+ "#{message} - #{timing.to_s}s"
21
23
  end
22
24
 
23
- def to_json
25
+ def to_json(options = {})
24
26
  to_hash.to_json
25
27
  end
26
28
 
27
29
  def to_hash
28
- {:success => success, :message => message}
30
+ {:success => success, :message => message, :timing => timing}
29
31
  end
30
32
 
31
33
  end
@@ -1,3 +1,3 @@
1
1
  module Easymon
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
@@ -0,0 +1,733 @@
1
+  (0.2ms) SELECT 1=1
2
+  (0.2ms) SELECT 1=1
3
+  (0.2ms) SELECT 1=1
4
+  (0.2ms) SELECT 1=1
5
+
6
+
7
+ Started GET "/up" for 127.0.0.1 at 2014-05-27 18:37:06 -0400
8
+ Processing by Easymon::ChecksController#index as HTML
9
+  (0.2ms) SELECT 1=1
10
+ Rendered text template (0.0ms)
11
+ Completed 503 Service Unavailable in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
12
+
13
+
14
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:37:14 -0400
15
+ Processing by Easymon::ChecksController#show as HTML
16
+ Parameters: {"check"=>"redis"}
17
+ Rendered text template (0.0ms)
18
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
19
+
20
+
21
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:37:46 -0400
22
+ Processing by Easymon::ChecksController#show as HTML
23
+ Parameters: {"check"=>"redis"}
24
+ Rendered text template (0.0ms)
25
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
26
+
27
+
28
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:37:55 -0400
29
+ Processing by Easymon::ChecksController#show as HTML
30
+ Parameters: {"check"=>"redis"}
31
+ Rendered text template (0.0ms)
32
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
33
+
34
+
35
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:39:26 -0400
36
+ Processing by Easymon::ChecksController#show as HTML
37
+ Parameters: {"check"=>"redis"}
38
+ Rendered text template (0.0ms)
39
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
40
+
41
+
42
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:40:31 -0400
43
+ Processing by Easymon::ChecksController#show as HTML
44
+ Parameters: {"check"=>"redis"}
45
+ Rendered text template (0.0ms)
46
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
47
+
48
+
49
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:40:41 -0400
50
+ Processing by Easymon::ChecksController#show as JSON
51
+ Parameters: {"check"=>"redis"}
52
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
53
+
54
+
55
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:42:10 -0400
56
+ Processing by Easymon::ChecksController#show as HTML
57
+ Parameters: {"check"=>"redis"}
58
+ Rendered text template (0.0ms)
59
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
60
+
61
+
62
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:42:38 -0400
63
+ Processing by Easymon::ChecksController#show as HTML
64
+ Parameters: {"check"=>"redis"}
65
+ Rendered text template (0.0ms)
66
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
67
+
68
+
69
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:42:44 -0400
70
+ Processing by Easymon::ChecksController#show as HTML
71
+ Parameters: {"check"=>"redis"}
72
+ Rendered text template (0.0ms)
73
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
74
+
75
+
76
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:43:07 -0400
77
+ Processing by Easymon::ChecksController#show as HTML
78
+ Parameters: {"check"=>"redis"}
79
+ Timing: 0.000794
80
+ Rendered text template (0.0ms)
81
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
82
+
83
+
84
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:43:52 -0400
85
+ Processing by Easymon::ChecksController#show as HTML
86
+ Parameters: {"check"=>"redis"}
87
+ Timing: 0.000815
88
+ Rendered text template (0.0ms)
89
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
90
+
91
+
92
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:44:37 -0400
93
+ Processing by Easymon::ChecksController#show as HTML
94
+ Parameters: {"check"=>"redis"}
95
+ Rendered text template (0.0ms)
96
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
97
+
98
+
99
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:44:41 -0400
100
+ Processing by Easymon::ChecksController#show as JSON
101
+ Parameters: {"check"=>"redis"}
102
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
103
+
104
+
105
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:44:51 -0400
106
+ Processing by Easymon::ChecksController#show as JSON
107
+ Parameters: {"check"=>"redis"}
108
+ Completed 500 Internal Server Error in 1ms
109
+
110
+ ArgumentError (wrong number of arguments (1 for 0)):
111
+ /Users/nathan/37s/apps/easymon/lib/easymon/result.rb:25:in `to_json'
112
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:90:in `block in <module:Renderers>'
113
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
114
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each_key'
115
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each'
116
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
117
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
118
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
119
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
120
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
121
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
122
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
123
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
124
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
125
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
126
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
127
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
128
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:49:in `block (2 levels) in show'
129
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `call'
130
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
131
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:47:in `show'
132
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
133
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
134
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
135
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
136
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3221296038580326263__process_action__callbacks'
137
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
138
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
139
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
140
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
141
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
142
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
143
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
144
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
145
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
146
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
148
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
149
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
150
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
151
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
152
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
153
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
154
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
155
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
156
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
157
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
158
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
159
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
160
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
161
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
162
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
163
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
164
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
165
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
166
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
167
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
168
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
169
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
170
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
171
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
172
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
173
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
174
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
175
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
176
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3831322074343387931__call__callbacks'
177
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
178
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
179
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
180
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
181
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
182
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
183
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
184
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
185
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
186
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
187
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
188
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
189
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
190
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
191
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
192
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
193
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
194
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
195
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
196
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
197
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
198
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
199
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
200
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
201
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
202
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
203
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
204
+
205
+
206
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
207
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
208
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (13.2ms)
209
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.6ms)
210
+
211
+
212
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:45:57 -0400
213
+ Processing by Easymon::ChecksController#show as JSON
214
+ Parameters: {"check"=>"redis"}
215
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
216
+
217
+
218
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:46:25 -0400
219
+ Processing by Easymon::ChecksController#show as JSON
220
+ Parameters: {"check"=>"redis"}
221
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
222
+
223
+
224
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:46:36 -0400
225
+ Processing by Easymon::ChecksController#show as JSON
226
+ Parameters: {"check"=>"redis"}
227
+ Completed 500 Internal Server Error in 2ms
228
+
229
+ ArgumentError (wrong number of arguments (1 for 0)):
230
+ /Users/nathan/37s/apps/easymon/lib/easymon/result.rb:25:in `to_json'
231
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:90:in `block in <module:Renderers>'
232
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
233
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each_key'
234
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each'
235
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
236
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
237
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
238
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
239
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
240
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
241
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
242
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
243
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
244
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
245
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
246
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
247
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:49:in `block (2 levels) in show'
248
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `call'
249
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
250
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:47:in `show'
251
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
252
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
253
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
254
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
255
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3221296038580326263__process_action__callbacks'
256
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
257
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
258
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
259
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
260
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
261
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
262
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
263
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
264
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
265
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
266
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
267
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
268
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
269
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
270
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
271
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
272
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
273
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
274
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
275
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
276
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
277
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
278
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
279
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
280
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
281
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
282
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
283
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
284
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
285
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
286
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
287
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
288
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
289
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
290
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
291
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
292
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
293
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
294
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
295
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3831322074343387931__call__callbacks'
296
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
297
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
298
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
299
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
300
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
301
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
302
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
303
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
304
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
305
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
306
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
307
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
308
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
309
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
310
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
311
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
312
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
313
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
314
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
315
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
316
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
317
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
318
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
319
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
320
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
321
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
322
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
323
+
324
+
325
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
326
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
327
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
328
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms)
329
+
330
+
331
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:49:36 -0400
332
+ Processing by Easymon::ChecksController#show as JSON
333
+ Parameters: {"check"=>"redis"}
334
+ #<Easymon::Result:0x007f89d3830540 @success=true, @message="Up", @timing=0.001307>
335
+ Completed 500 Internal Server Error in 2ms
336
+
337
+ ArgumentError (wrong number of arguments (1 for 0)):
338
+ /Users/nathan/37s/apps/easymon/lib/easymon/result.rb:25:in `to_json'
339
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:90:in `block in <module:Renderers>'
340
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
341
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each_key'
342
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each'
343
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
344
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
345
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
346
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
347
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
348
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
349
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
350
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
351
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
352
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
353
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
354
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
355
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:51:in `block (2 levels) in show'
356
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `call'
357
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
358
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:49:in `show'
359
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
360
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
361
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
362
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
363
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3092027384326249107__process_action__callbacks'
364
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
365
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
366
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
367
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
368
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
369
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
370
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
371
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
372
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
373
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
374
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
375
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
376
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
377
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
378
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
379
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
380
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
381
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
382
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
383
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
384
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
385
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
386
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
387
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
388
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
389
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
390
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
391
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
392
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
393
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
394
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
395
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
396
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
397
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
398
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
399
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
400
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
401
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
402
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
403
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__1765703149299367900__call__callbacks'
404
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
405
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
406
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
407
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
408
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
409
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
410
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
411
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
412
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
413
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
414
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
415
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
416
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
417
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
418
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
419
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
420
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
421
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
422
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
423
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
424
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
425
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
426
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
427
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
428
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
429
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
430
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
431
+
432
+
433
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
434
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
435
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (12.3ms)
436
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.2ms)
437
+
438
+
439
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:50:44 -0400
440
+ Processing by Easymon::ChecksController#show as JSON
441
+ Parameters: {"check"=>"redis"}
442
+ #<Easymon::Result:0x007f89d3d90cb0 @success=true, @message="Up", @timing=0.000828>
443
+ Completed 500 Internal Server Error in 1ms
444
+
445
+ ArgumentError (wrong number of arguments (1 for 0)):
446
+ /Users/nathan/37s/apps/easymon/lib/easymon/result.rb:25:in `to_json'
447
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:90:in `block in <module:Renderers>'
448
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
449
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each_key'
450
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each'
451
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
452
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
453
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
454
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
455
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
456
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
457
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
458
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
459
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
460
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
461
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
462
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
463
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:51:in `block (2 levels) in show'
464
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `call'
465
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
466
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:49:in `show'
467
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
468
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
469
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
470
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
471
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3092027384326249107__process_action__callbacks'
472
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
473
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
474
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
475
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
476
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
477
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
478
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
479
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
480
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
481
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
482
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
483
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
484
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
485
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
486
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
487
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
488
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
489
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
490
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
491
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
492
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
493
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
494
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
495
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
496
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
497
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
498
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
499
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
500
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
501
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
502
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
503
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
504
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
505
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
506
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
507
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
508
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
509
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
510
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
511
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__1765703149299367900__call__callbacks'
512
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
513
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
514
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
515
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
516
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
517
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
518
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
519
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
520
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
521
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
522
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
523
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
524
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
525
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
526
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
527
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
528
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
529
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
530
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
531
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
532
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
533
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
534
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
535
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
536
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
537
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
538
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
539
+
540
+
541
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
542
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
543
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
544
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.1ms)
545
+
546
+
547
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:51:16 -0400
548
+ Processing by Easymon::ChecksController#show as JSON
549
+ Parameters: {"check"=>"redis"}
550
+ #<Easymon::Result:0x007f89d713e738 @success=true, @message="Up", @timing=0.000846>
551
+ Completed 500 Internal Server Error in 1ms
552
+
553
+ ArgumentError (wrong number of arguments (1 for 0)):
554
+ /Users/nathan/37s/apps/easymon/lib/easymon/result.rb:25:in `to_json'
555
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:90:in `block in <module:Renderers>'
556
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:33:in `block in _handle_render_options'
557
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each_key'
558
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/set.rb:232:in `each'
559
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:30:in `_handle_render_options'
560
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
561
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
562
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
563
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
564
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
565
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
566
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
567
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
568
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
569
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
570
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
571
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:51:in `block (2 levels) in show'
572
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `call'
573
+ actionpack (4.0.2) lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
574
+ /Users/nathan/37s/apps/easymon/app/controllers/easymon/checks_controller.rb:49:in `show'
575
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
576
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
577
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
578
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
579
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3092027384326249107__process_action__callbacks'
580
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
581
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
582
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
583
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
584
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
585
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
586
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
587
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
588
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
589
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
590
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
591
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
592
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
593
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
594
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
595
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
596
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
597
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
598
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
599
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
600
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
601
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
602
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
603
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
604
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
605
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
606
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
607
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
608
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
609
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
610
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
611
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
612
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
613
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
614
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
615
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
616
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
617
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
618
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
619
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__1765703149299367900__call__callbacks'
620
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
621
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
622
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
623
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
624
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
625
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
626
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
627
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
628
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
629
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
630
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
631
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
632
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
633
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
634
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
635
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
636
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
637
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
638
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
639
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
640
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
641
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
642
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
643
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
644
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
645
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
646
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
647
+
648
+
649
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
650
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
651
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
652
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.9ms)
653
+
654
+
655
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:53:50 -0400
656
+ Processing by Easymon::ChecksController#show as JSON
657
+ Parameters: {"check"=>"redis"}
658
+ #<Easymon::Result:0x007f945516c420 @success=true, @message="Up", @timing=0.001146>
659
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
660
+
661
+
662
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:55:10 -0400
663
+ Processing by Easymon::ChecksController#show as JSON
664
+ Parameters: {"check"=>"redis"}
665
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
666
+
667
+
668
+ Started GET "/up/redis.json" for 127.0.0.1 at 2014-05-27 18:55:10 -0400
669
+ Processing by Easymon::ChecksController#show as JSON
670
+ Parameters: {"check"=>"redis"}
671
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
672
+
673
+
674
+ Started GET "/up/redis" for 127.0.0.1 at 2014-05-27 18:55:17 -0400
675
+ Processing by Easymon::ChecksController#show as HTML
676
+ Parameters: {"check"=>"redis"}
677
+ Rendered text template (0.0ms)
678
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
679
+
680
+
681
+ Started GET "/up" for 127.0.0.1 at 2014-05-27 18:55:25 -0400
682
+ Processing by Easymon::ChecksController#index as HTML
683
+  (0.2ms) SELECT 1=1
684
+ Rendered text template (0.0ms)
685
+ Completed 503 Service Unavailable in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms)
686
+
687
+
688
+ Started GET "/up" for 127.0.0.1 at 2014-05-27 18:55:29 -0400
689
+ Processing by Easymon::ChecksController#index as HTML
690
+  (0.2ms) SELECT 1=1
691
+ Rendered text template (0.0ms)
692
+ Completed 503 Service Unavailable in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
693
+
694
+
695
+ Started GET "/up.json" for 127.0.0.1 at 2014-05-27 18:55:34 -0400
696
+
697
+ ActionController::RoutingError (No route matches [GET] "/up.json"):
698
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
699
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
700
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
701
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
702
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
703
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
704
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
705
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
706
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
707
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
708
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
709
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
710
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
711
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
712
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
713
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
714
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
715
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
716
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
717
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
718
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
719
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
720
+ /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
721
+
722
+
723
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
724
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
725
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
726
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.4ms)
727
+ Rendered /Users/nathan/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (20.8ms)
728
+
729
+
730
+ Started GET "/up/index.json" for 127.0.0.1 at 2014-05-27 18:56:07 -0400
731
+ Processing by Easymon::ChecksController#show as JSON
732
+ Parameters: {"check"=>"index"}
733
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)