Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to reload Prometheus's configuration? #1572

Closed
guxia opened this Issue Apr 22, 2016 · 6 comments

Comments

Projects
None yet
6 participants
@guxia
Copy link

guxia commented Apr 22, 2016

I want to reload Prometheus's configuration,but i don't know how to sending SIGHUP to the Prometheus process on ubuntu?

@barkerd427

This comment has been minimized.

Copy link

barkerd427 commented Apr 22, 2016

kill -HUP
On Apr 21, 2016 9:44 PM, "guxia" notifications@github.com wrote:

I want to reload Prometheus's configuration,but i don't know how to
sending SIGHUP to the Prometheus process?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1572

@grobie grobie added the question label Apr 22, 2016

@grobie grobie closed this Apr 22, 2016

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Apr 22, 2016

Or killall -HUP prometheus.

@guanglinlv

This comment has been minimized.

Copy link

guanglinlv commented Apr 27, 2016

Or curl -s -XPOST localhost:9090/-/reload

@guxia

This comment has been minimized.

Copy link
Author

guxia commented Apr 28, 2016

Thank everyone!

@vivipolli

This comment has been minimized.

Copy link

vivipolli commented Dec 27, 2018

Or curl -s -XPOST localhost:9090/-/reload
Lifecycle APIs are not enabled

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Dec 27, 2018

@vivipolli For the web reload endpoint to work, you'll need to set the --web.enable-lifecycle command-line flag, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/#configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.