From: Tom Hughes Date: Fri, 8 Jul 2022 07:49:53 +0000 (+0100) Subject: Increase stop timeout for prometheus server X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/255a305b676d38d17d0fdab56d922b32319854fa?ds=inline Increase stop timeout for prometheus server --- 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