From: Paul Norman Date: Mon, 25 Nov 2024 05:36:47 +0000 (-0800) Subject: vectortile: track osm2pgsql db age X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/0c4c2dfa07939b515d41f8128c0b937ec6823cd1?hp=2cc4a5f071b3c0ce36017905681e003c7eec7d4d vectortile: track osm2pgsql db age --- diff --git a/cookbooks/vectortile/recipes/default.rb b/cookbooks/vectortile/recipes/default.rb index d57cee6a3..99211975e 100644 --- a/cookbooks/vectortile/recipes/default.rb +++ b/cookbooks/vectortile/recipes/default.rb @@ -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