From 255a305b676d38d17d0fdab56d922b32319854fa Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 8 Jul 2022 08:49:53 +0100 Subject: [PATCH] Increase stop timeout for prometheus server --- cookbooks/prometheus/recipes/server.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/prometheus/recipes/server.rb b/cookbooks/prometheus/recipes/server.rb index 1e9b1409d..b547327c4 100644 --- a/cookbooks/prometheus/recipes/server.rb +++ b/cookbooks/prometheus/recipes/server.rb @@ -249,6 +249,7 @@ systemd_service "prometheus-executable" do service "prometheus" dropin "executable" exec_start "/opt/prometheus-server/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml --web.external-url=https://prometheus.openstreetmap.org/prometheus --storage.tsdb.path=/var/lib/prometheus/metrics2 --storage.tsdb.retention.time=30d" + timeout_stop_sec 300 notifies :restart, "service[prometheus]" end -- 2.39.5