-
Notifications
You must be signed in to change notification settings - Fork 921
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
Add metrics about EventLoop
#4675
Comments
Looks interesting. If no one's assigned, may I look into the issues ? |
For sure. Thanks for your interest. 😀 |
Checking to see if I missed a PR addressing this ticket? We need something like this internally so I wanted to build something ad-hoc. @seonwoo960000 are you actively working on it? |
Hi @vkostyukov ! I'm not currently working on this and I think you can first work on this issue. |
Thanks! I will grab this! |
Got a PR here: #4750 4750 |
Motivation: We want to export some very basic metrics about the underlying Netty runtime. Let's start with the number of event-loops and the number of IO tasks waiting to be executed. Modifications: - Added `EventLoopMetrics`, which implements `MeterBinder`. - The approach to count pending-io-tasks is highly inspired by [this gauge from Finagle](https://github.com/twitter/finagle/blob/develop/finagle-netty4/src/main/scala/com/twitter/finagle/netty4/WorkerEventLoop.scala#L32-L47). It's also pretty similar how we do it internally at Databricks. - Registered `CommonPools` event-loop-groups for metrics collection. Result: - Closes #4675
Micrometer does not support metrics for Netty's
EventLoop
. micrometer-metrics/micrometer#522We may add our custom metrics for
EventLoop
.EventLoop
sThe text was updated successfully, but these errors were encountered: