forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[data] create StatsManager to manage _StatsActor remote calls (ray-pr…
…oject#40913) Creates a `StatsManager` class to manage remote calls to `_StatsActor`. This singleton manager controls the time interval for reporting metrics to `_StatsActor`: - Runs a single background thread that reports metrics to `_StatsActor` every 5s - This thread is stopped after being inactive for too long, and will be restarted if there is a new update afterwards Also logs op metrics for `_debug_dump_topology`. --------- Signed-off-by: Andrew Xue <andewzxue@gmail.com>
- Loading branch information
1 parent
1c9f85c
commit 7b090cd
Showing
10 changed files
with
329 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.