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 upConsider removing default port support #681
Comments
This comment has been minimized.
This comment has been minimized.
|
Not sure if this behavior should be specific to a browser - port 80 and 443 are standard well-known default ports for HTTP and HTTPS, regardless of client application (http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=2). So it might even be less surprising to keep it. |
This comment has been minimized.
This comment has been minimized.
|
Of course it's not specific to browsers — but for Prometheus, scraping from the default ports is not the normal case and a regular SD usually provides a port. But not feeling too strong about it in general. |
This comment has been minimized.
This comment has been minimized.
|
Yeah, I don't feel strongly about this - do whatever feels best :) |
This comment has been minimized.
This comment has been minimized.
|
Ultimate compromise: we infer the port when we receive the target group and thus only create targets from full |
This comment has been minimized.
This comment has been minimized.
|
Can be closed now, I guess? |
This comment has been minimized.
This comment has been minimized.
|
Yes |
fabxc
closed this
May 13, 2015
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. |
fabxc commentedMay 7, 2015
Currently target hosts can be provided without a port name. Based on the scheme the default port is selected.
Prometheus is not a browser and usage of default ports is an exception rather than the rule. Removing this feature will give developers and users one thing less to think about.
Thoughts?