Skip to content

Commit

Permalink
Enable prometheus admin API
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Oct 19, 2023
1 parent 7449c8b commit ff94bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/prometheus/recipes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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=540d"
exec_start "/opt/prometheus-server/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml --web.enable-admin-api --web.external-url=https://prometheus.openstreetmap.org/prometheus --storage.tsdb.path=/var/lib/prometheus/metrics2 --storage.tsdb.retention.time=540d"
timeout_stop_sec 300
notifies :restart, "service[prometheus]"
end
Expand Down

0 comments on commit ff94bbf

Please sign in to comment.