Add TaskMonitor interval metrics w/ admin command.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-03-02 02:10:55 +00:00
parent bf8ae48ec2
commit 9e75453303
6 changed files with 90 additions and 12 deletions

View File

@@ -197,6 +197,13 @@ pub(super) enum DebugCommand {
/// invocation.
RuntimeInterval,
/// - Print detailed tokio task metrics accumulated in total.
TaskMetrics,
/// - Print detailed tokio task metrics accumulated since last command
/// invocation.
TaskInterval,
/// - Print the current time
Time,