projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a munin plugin for API response codes
[chef.git]
/
cookbooks
/
web
/
recipes
/
rails.rb
diff --git
a/cookbooks/web/recipes/rails.rb
b/cookbooks/web/recipes/rails.rb
index bb7eeef2c87b710a289b55741aaa603b46273445..98b515d428c24a2abb6916528eef0b450d2ef5a3 100644
(file)
--- a/
cookbooks/web/recipes/rails.rb
+++ b/
cookbooks/web/recipes/rails.rb
@@
-91,6
+91,7
@@
service "api-statistics" do
subscribes :restart, "template[/etc/init.d/api-statistics]"
end
+munin_plugin "api_calls_status"
munin_plugin "api_calls_num"
munin_plugin "api_calls_#{node[:hostname]}" do