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

perf: add Tokio runtime monitor #19415

Merged
merged 8 commits into from
Jun 9, 2023
Merged

Conversation

bartlomieju
Copy link
Member

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.

@bartlomieju bartlomieju requested a review from mmastrac June 8, 2023 01:19
Copy link
Contributor

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bartlomieju bartlomieju enabled auto-merge (squash) June 9, 2023 11:21
@bartlomieju bartlomieju merged commit 168eb8e into denoland:main Jun 9, 2023
10 checks passed
@bartlomieju bartlomieju deleted the tokio_metrics branch June 9, 2023 11:57
bartlomieju added a commit that referenced this pull request Jun 15, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants