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

Change Prometheus port #52

Closed
Cosaquee opened this issue Aug 16, 2017 · 6 comments · Fixed by #377
Closed

Change Prometheus port #52

Cosaquee opened this issue Aug 16, 2017 · 6 comments · Fixed by #377
Labels
enhancement New feature or request

Comments

@Cosaquee
Copy link

Hi!

Is there any option to change the Prometheus port to something different than 9090? I cannot see such options anywhere in the code, but maybe it is buried somewhere. I can make PR and add this possibility to specify a port, it this is not a problem.

@tuxmea
Copy link
Member

tuxmea commented Oct 25, 2017

According to google groups this is possible on CLI when starting prometheus: --web.listen-address="0.0.0.0:9091"

I assume that this setting must be placed into the sysvinit, systemd, upstart scripts.

@bastelfreak
Copy link
Member

Hi @Cosaquee, thanks for rising this issue. Are you able to provide a pull request which adds this functionality?

@Cosaquee
Copy link
Author

@bastelfreak, sure. :)

@tuxmea
Copy link
Member

tuxmea commented Oct 25, 2017

I wonder whether this is already done and just needs data for extra_options parameter?

@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Oct 25, 2017
@Cosaquee
Copy link
Author

As far as I can see there is no such param that can be set. Probably we can set it in extra_options but I thing that explicit variable would be better. My question is if we want to provide something like host and port with defaults 0.0.0.0 and 9090 or just port?

@tuxmea
Copy link
Member

tuxmea commented Oct 25, 2017

I would go for host and port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants