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

Expose runtime metrics #147

Closed
olix0r opened this issue Feb 22, 2018 · 0 comments
Closed

Expose runtime metrics #147

olix0r opened this issue Feb 22, 2018 · 0 comments

Comments

@olix0r
Copy link
Member

olix0r commented Feb 22, 2018

When building applications with tokio, it can be hard to understand reactor/executor behavior at runtime.

I want to be able to ask a few questions of the runtime like the following:

  • How many tasks have been scheduled? [total since runtime creation]
  • How many tasks are currently scheduled? [instantaneous]
  • How much time has been sent polling tasks? [total since runtime creation]

It's important that these values are not time-bounded or otherwise pre-rated so that they fit well into timeseries -- by tracking totals we can determine the rate at read-time without having to configure the runtime with a window...

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

2 participants