From: Tom Hughes Date: Sat, 26 Sep 2020 10:47:21 +0000 (+0100) Subject: Configure modtile and renderd collectors X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/c3a13fca5d82a7203707da7900341e7c30bf60ee Configure modtile and renderd collectors --- diff --git a/cookbooks/tile/metadata.rb b/cookbooks/tile/metadata.rb index 0c44f9c6c..bd84ccec0 100644 --- a/cookbooks/tile/metadata.rb +++ b/cookbooks/tile/metadata.rb @@ -12,6 +12,7 @@ depends "git" depends "munin" depends "nodejs" depends "postgresql" +depends "prometheus" depends "python" depends "systemd" depends "tools" diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 57ee431b0..7363e410c 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -23,6 +23,7 @@ include_recipe "git" include_recipe "munin" include_recipe "nodejs" include_recipe "postgresql" +include_recipe "prometheus" include_recipe "python" include_recipe "tools" @@ -601,3 +602,11 @@ munin_plugin "renderd_zoom" munin_plugin "renderd_zoom_time" munin_plugin "replication_delay" + +prometheus_collector "modtile" do + interval "1m" +end + +prometheus_collector "renderd" do + interval "1m" +end