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

Can prometheus configuration be updated remotely #4789

Closed
yaminisridaran opened this Issue Oct 26, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@yaminisridaran
Copy link

yaminisridaran commented Oct 26, 2018

Environment: k8s clusters
I have a remote prometheus which I will not have access to configure it. Can I create configuration and push the configuration to the remote prometheus.

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Oct 26, 2018

There's no HTTP API to update the configuration if this is what you're asking for. Prometheus takes its configuration from the file system (this is the --config.file CLI flag). You can also use service discovery mechanisms to let Prometheus discover targets from external services (eg Kubernetes API).

I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search.

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.