From c3a13fca5d82a7203707da7900341e7c30bf60ee Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 26 Sep 2020 11:47:21 +0100 Subject: [PATCH] Configure modtile and renderd collectors --- cookbooks/tile/metadata.rb | 1 + cookbooks/tile/recipes/default.rb | 9 +++++++++ 2 files changed, 10 insertions(+) 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 -- 2.43.2