-
Notifications
You must be signed in to change notification settings - Fork 664
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
Getting custom metric #2552
Comments
@strelchm Can you please elaborate a bit more on the requirements? Also most probably you need this for 1.0.x version? |
@violetagg Project is built with spring boot and web-flux. The version of reactor-netty is 1.0.13. Now I have enabled some metrics with NettyServerCustomizer, but want some more information about http-request(events) in thread pool |
@strelchm So you are targeting server metrics. Ok.
I cannot get this ... Reactor Netty doesn't use thread per request paradigm which is typical for blocking processing of the requests. Reactor Netty processes the requests in a non-blocking fashion and uses an even loop. Typically the number of the threads that we use is the number of the cores that you have. |
We do have metrics for how many connections are opened at any moment and how many of them are active (which basically represents the number of the requests that are in process at the moment). |
@violetagg Sorry, I explained not correct. I need the metrics: time from receiving a request to being laid to the request pool and |
@strelchm |
@violetagg Can you please suggest how I can do this? I see one metric reactor.netty.eventloop.pending.tasks in docs. In other way, can we measure the time with aop or this is bad idea? |
@violetagg thanks much! |
@strelchm I'm closing this one. We can reopen it if something else is needed. |
I have to make next netty metrics for all http requests of Spring Webflux app:
Can you please suggest idea - how I can get such metrics? May be with help of AOP? Or there are some listeners that can be used?
With honour, Michael
The text was updated successfully, but these errors were encountered: