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

Tracking issue for monitoring/metrics #217

Open
Thomasdezeeuw opened this issue Jul 10, 2019 · 5 comments
Open

Tracking issue for monitoring/metrics #217

Thomasdezeeuw opened this issue Jul 10, 2019 · 5 comments
Labels
enhancement An improvement of the API. idea An idea, open to discussion. priority:medium Medium priority issue.

Comments

@Thomasdezeeuw
Copy link
Owner

Since Heph is intended for building large, distributed services, having good insights into the processes is key. Various types, such as ActorSystem, should provide data to give insights as to what is happening in the system.

I'm currently unsure on how to expose this data.

Related #13.

@Thomasdezeeuw Thomasdezeeuw added enhancement An improvement of the API. idea An idea, open to discussion. labels Aug 11, 2019
@Thomasdezeeuw

This comment has been minimized.

@Thomasdezeeuw
Copy link
Owner Author

Pr #330 collects some metrics, but it's closed.

@Thomasdezeeuw Thomasdezeeuw added the priority:medium Medium priority issue. label Mar 12, 2021
@Thomasdezeeuw Thomasdezeeuw changed the title Tracking issue for monitoring Tracking issue for monitoring/metrics Mar 17, 2021
@Thomasdezeeuw
Copy link
Owner Author

Also see #31 (comment).

@Thomasdezeeuw
Copy link
Owner Author

PR #462 implements some metrics, but they're just dumped out currently.

@Thomasdezeeuw
Copy link
Owner Author

Some more metrics I want to monitor:

Memory usage:

  • Heap size
  • Usage per worker/coordinator.

Per actor:

  • name
  • supervisor (?)
  • inbox/message queue size
  • priority
  • state: { Runnable, Paused } // NOTE: currently running are excluded.
  • uptime: Duration
  • polled/ran: usize
  • restarts: usize
  • time last run: Instant/SystemTime.

Maybe group the actors by name?
Same for Futures?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of the API. idea An idea, open to discussion. priority:medium Medium priority issue.
Projects
None yet
Development

No branches or pull requests

1 participant