Skip to content

I want to implement console support into a runtime #589

Answered by hds
nothendev asked this question in Q&A
Discussion options

You must be logged in to vote

There is currently no specification for the instrumentation present in Tokio.

To understand it, you can read the console-subscriber source code or the tokio source code.

I have also written about it a bit on my personal blog in the following posts:

Certainly, starting with tasks, the tokio source code is quite clear in the fields that are included for task spawning:

https://github.com/tokio-rs/tokio/blob/512e9decfb683d22f4a145459142542caa0894c9/tokio/src/util/trace.rs#L54-L79

Do…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nothendev
Comment options

@hds
Comment options

hds Oct 17, 2024
Maintainer

Answer selected by nothendev
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