Skip to content

Best practices for monitoring/observability/metrics/profiling of a running Tokio-based app #4050

Answered by Darksonn
GregOwen asked this question in Q&A
Discussion options

You must be logged in to vote

The two main tools that exist at this moment is the tracing crate and the tokio-console tool. The first tool is a logging and tracing crate that works well with async code, and the second tool is a "task manager" that can view all tasks on the runtime and can tell you if they are blocked and such.

As for metrics that track performance numbers more generally, we are working on tools for those (see #3845), but those are not available yet.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Darksonn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants