X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/be5f5bf83260f6fe16c253bb2069b34bd7421549..c18698a0522cfe2ede5361706cf59d99b9cb55de:/cookbooks/web/recipes/rails.rb diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index 52a49aee8..98b515d42 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -90,3 +90,14 @@ service "api-statistics" do subscribes :restart, "template[/usr/local/bin/api-statistics]" 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 + target "api_calls_" +end + +munin_plugin "api_waits_#{node[:hostname]}" do + target "api_waits_" +end