-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Make the path of web endpoints configurable #10181
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
Comments
So the argument is about the size of the body? IMO it feels weird that something named |
No, I think it's more an argument about security. If we leave things as they are and a load balancer requires the use of |
OK but let's keep #8685 on the radar. If we do this, we'd offer |
I think |
If we want to do that, we have no choice IMO, Can we reconsider perhaps? We want to use 2.0 to fix things and I believe this is one of them. |
@snicoll What do you want to reconsider? |
Agree, both So my vote goes to I'm still nervous about moving things there; we're basically making a backwards incompatible change not for the load-balancers, but for the APMs using that endpoint to get the details. |
Reconsider swapping them. The naming is right now IMO so I'd really like to keep things as they are now. |
Since we're pretty much all agreed that |
I don't even think it would be so bad if we supported it via the properties now, particularly if we moved them beneath We definitely don't want to reintroduce support for changing the ID which had the side-effect of changing the path. |
This isn't my preferred option as well. Hopefully systems can adapt over time to /status. |
@snicoll Did you mean this is my preferred option? |
Yes sorry. The auto-correct on my phone decided to write isn't 😕 |
I've retitled the issue for the preferred approach which is to allow a web endpoint's path to be configured |
We need to be careful no to change the mapping for CloudFoundry as that support expects the standard paths. We have a |
Many gateways and load balancers ping a URL and just need a 200 back to consider a server to be a candidate for handling requests. We've also heard of teams that "require" this URL to be
/health
. Given that all they need is a 200 response, the status endpoint is currently the best fit but it's mapped to/status
. We should consider making/health
provide the rolled up information about the health of the application and making/status
provide detailed information.The text was updated successfully, but these errors were encountered: