-
Notifications
You must be signed in to change notification settings - Fork 272
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
Question: how to enable TracedObjectStore? #3589
Comments
So perhaps the question is more, how can we consume the events emitted by Right now, there is only one outlet for span traces in pylance and that is to use
This will dump all tracing spans into a file using the chrome event viewer format (you can view this file with https://ui.perfetto.dev/) Is there another way you would like to consume these spans? Perhaps via log messages or some kind of otel integration? |
Oh, I thought it was disabled by default. If it is open by default, I would prefer to see it in the log message. |
@westonpace It seems the generated file with It throws this exception:
Is there a recommended way to generate flame diagrams based on this JSON file? |
Seems there is a library use tracing_flame::FlameLayer;
use tracing_subscriber::prelude::*;
let (flame_layer, _guard) = FlameLayer::with_file("./tracing.folded").unwrap();
tracing_subscriber::registry()
.with(flame_layer)
.init(); |
Yeah, I haven't bothered much with flamegraphs with traces. Normally I look at trace graphs with https://ui.perfetto.dev/ instead. I think adding a I do think I tried some experiments with |
Hmm, I was just trying to use some traces on |
I found we have a
TracedObjectStore
. However, this feature is not used. My question is: How do I enable it? Or can it work?The text was updated successfully, but these errors were encountered: