diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-06-09 13:52:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-09 11:52:51 +0000 |
| commit | 168eb8e01d3cdbd6358e11cf399fbf4ef1db358b (patch) | |
| tree | 1bd50c52c039ea808658d2d470da2b121321a4d7 /runtime/Cargo.toml | |
| parent | 1b26f3c726d4835a403765f42a4f760b29b9f57d (diff) | |
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.
Diffstat (limited to 'runtime/Cargo.toml')
| -rw-r--r-- | runtime/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
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] |
