Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upIf I want to change the Prometheus Command-Line Flags. #2236
Comments
This comment has been minimized.
This comment has been minimized.
|
All configuration options provided through flags are fixed and can only be changed by restarting Prometheus. To configure Alertmanagers, we added a section to the config file in our 1.4 release. You can now use the same service discovery mechanisms you can use for targets: https://prometheus.io/docs/operating/configuration/#<alertmanager_config> The |
This comment has been minimized.
This comment has been minimized.
|
I see. |
barnettZQG
closed this
Nov 30, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
barnettZQG commentedNov 30, 2016
If I want to change the Prometheus Command-Line Flags when prometheus is running.
Example: -storage.local.memory-chunks or alertmanager.url ...
Now,I only restart the running prometheus. But it is a time-consuming operation.I have to wait for Prometheus program to a full stop to start a new.
Do not know to have a better way to let me complete the need to modify the prometheus flags.