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

red-knot: Add tracing #11130

Merged
merged 1 commit into from
Apr 24, 2024
Merged

red-knot: Add tracing #11130

merged 1 commit into from
Apr 24, 2024

Conversation

MichaReiser
Copy link
Member

Summary

Setup a tracing subscriber for red-knot. I think that will become handy when debugging queries:

Test Plan

Example output

┐red_knot::files::intern{self={}}
┘
   0.000170s DEBUG red_knot start analysis for workspace
┐red_knot::parse::parse{file_id=FileId(0)}
├─┐red_knot::source::source_text{file_id=FileId(0)}
├─┘
┘
┐red_knot::parse::parse{file_id=FileId(0)}
┘
┐red_knot::parse::parse{file_id=FileId(0)}
┘

@MichaReiser MichaReiser changed the base branch from main to red-knot April 24, 2024 14:09
@MichaReiser MichaReiser requested a review from carljm April 24, 2024 14:09
@carljm
Copy link
Contributor

carljm commented Apr 24, 2024

Awesome!

@MichaReiser MichaReiser merged commit e842bbb into red-knot Apr 24, 2024
@MichaReiser MichaReiser deleted the red-knot-tracing branch April 24, 2024 15:44
MichaReiser added a commit that referenced this pull request Apr 25, 2024
MichaReiser added a commit that referenced this pull request Apr 27, 2024
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.

2 participants