fiveruns-dash-merb 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/fiveruns/dash/merb/recipe.rb +11 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
Fiveruns::Dash.register_recipe :merb, :url => 'http://dash.fiveruns.com' do |recipe|
|
2
2
|
recipe.time :response_time, :method => 'Merb::Request#dispatch_action'
|
3
|
+
|
3
4
|
recipe.counter :requests, :incremented_by => 'Merb::Request#dispatch_action'
|
4
|
-
|
5
|
+
|
6
|
+
# Mark re-entrant so this doesn't get counted multiple times if nested
|
7
|
+
recipe.time :render_time, :method => 'Merb::RenderMixin#render',
|
8
|
+
:reentrant => true
|
9
|
+
|
10
|
+
# ==============
|
11
|
+
# = EXCEPTIONS =
|
12
|
+
# ==============
|
13
|
+
|
5
14
|
merb_exceptions = Merb::ControllerExceptions.constants.map do |name|
|
6
15
|
"Merb::ControllerExceptions::#{name}"
|
7
16
|
end
|
@@ -25,4 +34,5 @@ Fiveruns::Dash.register_recipe :merb, :url => 'http://dash.fiveruns.com' do |rec
|
|
25
34
|
# TODO: capture headers
|
26
35
|
info
|
27
36
|
end
|
37
|
+
|
28
38
|
end
|