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

Adding configuration APIs #1972

Closed
zxwing opened this Issue Sep 9, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@zxwing
Copy link

zxwing commented Sep 9, 2016

Prometheus is great, however, like many other Linux software, it only has APIs for core business but leaves configurations to old-style text files.

As the current trend for software is APIs define everything, I suggest Prometheus adding support for configuration APIs so people don't have to reload configuration by modifying a text file and calling kill -1.

@beorn7

This comment has been minimized.

Copy link
Member

beorn7 commented Sep 9, 2016

This is a very deliberate decision. The discussion happened in various forms. We plan to document non-goals with a bit of justification in the docs to spare people the time to look it up, see prometheus/docs#149 (comment) .

tl;dr: There will be no config API. Those that need it can build a wrapper that provides an API, creates a config file on the other end and sends a SIGHUP.

@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

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