]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/vectortile/recipes/default.rb
vectortile: track osm2pgsql db age
[chef.git] / cookbooks / vectortile / recipes / default.rb
index d57cee6a357a971dfdd8904a61e5eb789549cbd2..99211975ead7a5d4de1fb7dae9db2a5b90a74b77 100644 (file)
@@ -280,3 +280,17 @@ else
     action [:stop, :disable]
   end
 end
+
+package %w[
+  ruby-pg
+  ruby-webrick
+]
+
+prometheus_exporter "osm2pgsql" do
+  port 10027
+  user "tileupdate"
+  restrict_address_families "AF_UNIX"
+  options [
+    "--database-name=spirit"
+  ]
+end