From 168eb8e01d3cdbd6358e11cf399fbf4ef1db358b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 9 Jun 2023 13:52:51 +0200 Subject: perf: add Tokio runtime monitor (#19415) This commit adds ability to print metrics of the Tokio runtime to the console by passing "DENO_TOKIO_METRICS=1" env var. Metrics will be printed every second, but this can be changed by "DENO_TOKIO_METRICS_INTERVAL=500" env var. --- runtime/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/Cargo.toml') diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 3e7e57141..77571b210 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -105,6 +105,7 @@ serde.workspace = true signal-hook-registry = "1.4.0" termcolor = "1.1.3" tokio.workspace = true +tokio-metrics.workspace = true uuid.workspace = true [target.'cfg(windows)'.dependencies] -- cgit v1.2.3