Skip to content
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

Polling system metrics #3686

Open
armanbilge opened this issue Jun 13, 2023 · 0 comments
Open

Polling system metrics #3686

armanbilge opened this issue Jun 13, 2023 · 0 comments
Milestone

Comments

@armanbilge
Copy link
Member

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:

  1. 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

  2. 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:

@armanbilge armanbilge added this to the v3.6.0 milestone Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant