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

refactor(prometheus): Change prometheus port #3801

Merged
merged 2 commits into from
May 6, 2024

Conversation

vitoyucepi
Copy link
Collaborator

Summary

It's good practice to allocate a specific port for each individual Prometheus metrics exporter.
This commit changes port 9090, which is used by the prometheus server itself, to 9599, which is used by an unavailable https://github.com/marco-m/pirograph exporter.

After merging this PR, the next step will be to change the wiki page https://github.com/prometheus/prometheus/wiki/Default-port-allocations.

Additional

#3772

@toots
Copy link
Member

toots commented Mar 13, 2024

Thanks for this. I imagine that you're re-using an existing port because the list is limited?

@vitoyucepi
Copy link
Collaborator Author

Yeah, the list is full, there are no free ports.

@vitoyucepi
Copy link
Collaborator Author

How about port 9669?

@toots
Copy link
Member

toots commented Apr 2, 2024

I defer to you on that, I have no preference :-)

@vitoyucepi
Copy link
Collaborator Author

I'm fine with the current number and waiting for the merge.
Just joking around, waiting for the Number-Man to arise.

@vitoyucepi vitoyucepi force-pushed the prometheus_port branch 2 times, most recently from 3c52e6c to 1ea6ff7 Compare April 17, 2024 21:57
It's good practice to allocate a specific port for each individual
Prometheus metrics exporter. This commit changes port 9090, which is
used by the prometheus server itself, to 9599, which is used by an
unavailable https://github.com/marco-m/pirograph exporter.
As this could be a minor breaking change for some users, it's necessary
to notify them by updating the changelog and migration guide.
@toots
Copy link
Member

toots commented May 6, 2024

Is this ready for merge?

@vitoyucepi
Copy link
Collaborator Author

Yes, this PR is ready to be merged.

@toots toots merged commit 3dbd90d into savonet:main May 6, 2024
25 of 26 checks passed
@toots
Copy link
Member

toots commented May 6, 2024

Merged thanks!

@vitoyucepi vitoyucepi deleted the prometheus_port branch July 16, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants