-
Notifications
You must be signed in to change notification settings - Fork 560
Closed
Milestone
Description
We should figure out what kinds of metrics we want to collect and how to expose them in the API. cc @iRevive
A couple ideas:
-
libuv reports an "idle time" metric. we could measure this per-thread, and actually this is not specific to the polling system at all, this is a general property of the WSTP.
Retrieve the amount of time the event loop has been idle in the kernel’s event provider (e.g. epoll_wait).
https://docs.libuv.org/en/v1.x/metrics.html#c.uv_metrics_idle_time
-
number of outstanding channels/file descriptors/interest events, also per-thread. would be interesting to see if this balances across threads. on the JVM, we could break this into additional categories: # TCP sockets, # server sockets, etc.
Linking to:
Follow-up to:
Metadata
Metadata
Assignees
Labels
No labels