]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Add some additional alert rules
[chef.git] / cookbooks / tile / recipes / default.rb
index 241b73a8e9283d6be225a88cbaf035bd067d35e9..4a145476092c834c8069cde313777387e66cec88 100644 (file)
@@ -49,6 +49,7 @@ end
 remote_file "#{Chef::Config[:file_cache_path]}/fastly-ip-list.json" do
   source "https://api.fastly.com/public-ip-list"
   compile_time true
+  ignore_failure true
 end
 
 tilecaches = search(:node, "roles:tilecache").sort_by { |n| n[:hostname] }
@@ -86,6 +87,7 @@ systemd_service "renderd" do
   exec_start "/usr/bin/renderd -f"
   runtime_directory "renderd"
   standard_error "null"
+  limit_nofile 4096
   private_tmp true
   private_devices true
   private_network true
@@ -609,10 +611,10 @@ munin_plugin "renderd_zoom_time"
 
 munin_plugin "replication_delay"
 
-prometheus_collector "modtile" do
-  interval "1m"
+prometheus_exporter "modtile" do
+  port 9494
 end
 
-prometheus_collector "renderd" do
-  interval "1m"
+prometheus_exporter "renderd" do
+  port 9393
 end