From eead48217342056a398281e3ad9b692b4250f7c0 Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Tue, 27 May 2025 20:49:33 -0700 Subject: [PATCH] vectortile: Set application_name for tilekiln-prometheus --- cookbooks/vectortile/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/vectortile/recipes/default.rb b/cookbooks/vectortile/recipes/default.rb index 3073dcf1a..b32fa1050 100644 --- a/cookbooks/vectortile/recipes/default.rb +++ b/cookbooks/vectortile/recipes/default.rb @@ -352,6 +352,7 @@ systemd_service "tilekiln-prometheus" do after "postgresql.service" wants "postgresql.service" sandbox :enable_network => true + environment "PGAPPNAME" => "tilekiln-prometheus" restrict_address_families "AF_UNIX" exec_start "#{tilekiln_directory}/bin/tilekiln prometheus --bind-host #{node[:prometheus][:address]} --storage-dbname tiles" end -- 2.39.5