-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Add public getUndertow method to UndertowWebServer #39839
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
We don't have any metrics support for Undertow as there's no Micrometer integration. That's been discussed in micrometer-metrics/micrometer#1227. It's now waiting for some traction with the Undertow maintainers (https://issues.redhat.com/browse/UNDERTOW-2294 and https://groups.google.com/g/undertow-dev/c/4H_qXOlqTw0?pli=1) which can often be quite hard to get. You may want to keep this responsiveness in mind when considering your choice of embedded web server. I'm not sure that we'd want to make the |
Thanks for the response and candor @wilkinsona! I'm definitely interested in hearing what the team thinks. As far as the responsiveness goes from Undertow maintainers is there a sense of how long requests like this usually take to have implemented on the Undertow side? |
I think it's best if you draw your own conclusions there. You can look at the project's issue tracker and Google group to inform your view. |
We're going to add Issue #3016 could improve things in the future and mean that we can make |
Thanks so much @philwebb! That will be incredibly helpful! |
- getUndertow() to UndertowWebServer will be null until the server has been started. Issue spring-projects#3016 would enable getUndertow() to behave in a similar way to getTomcat() on TomcatWebServer. spring-projects#39839 Signed-off-by: Jakob Wanger <[email protected]>
- getUndertow() to UndertowWebServer will be null until the server has been started. Issue spring-projects#3016 would enable getUndertow() to behave in a similar way to getTomcat() on TomcatWebServer. spring-projects#39839 Signed-off-by: Jakob Wanger <[email protected]>
Superseded by #39916. |
My team is currently evaluating the embedded Undertow within Spring Boot. One concern that has come up which is that it does not appear as though Undertow exposes its internal metrics (active connections, active requests, etc.) via the MeterRegistry.
Additionally, the UndertowWebServer class does not expose the underlying Undertow server object in the same way that TomcatWebServer and JettyWebServer expose their underlying server objects.
What we'd like to have is either Spring support for Undertow internal metrics from the ConnectorStatistics (similar to the TomcatMetricsBinder and AbstractJettyMetricsBinder) or at least have the Undertow object exposed via the
UndertowWebServer
class so that we could expose those metrics ourselves.The text was updated successfully, but these errors were encountered: