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

Python: Discover Python modules and show them in the icicle graph #2818

Open
metalmatze opened this issue May 22, 2024 · 1 comment
Open
Labels
enhancement New feature or request language/python

Comments

@metalmatze
Copy link
Member

Is your feature request related to a problem? Please describe.

Profiling Python applications, users have requested to see exactly which Python module is part of the call stack.

Describe the solution you'd like

It would be great to inject a module with its name into the call stack.
Alternatively, we could surface a module in the tooltip where we show some other information already (like the file).

The latter approach would mean adding a new column to the resulting Apache arrow record in the backend. It's not ideal; however, it's nothing the agent directly has to care about.

Describe alternatives you've considered

Additional context

@metalmatze metalmatze added enhancement New feature or request language/python labels May 22, 2024
@brancz
Copy link
Member

brancz commented May 23, 2024

Is module a first-class python thing? Like is it something the runtime actually knows about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request language/python
Projects
None yet
Development

No branches or pull requests

2 participants