getsentry / getsentry/sentry-python
Performance spans for dynamically imported modules
Open
Feature
Python
Spans
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 669
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 213
Description
### Problem Statement
It would be nice to have spans for when python modules are loaded dynamically.
This could be instrumented:
https://docs.python.org/3/library/importlib.html#importlib.import_module
(This would also be useful in Django apps when loading the URL configurations)
See also:
https://github.com/getsentry/sentry-python/issues/988#issuecomment-1005513677
Contributor guide
Assessment
This issue has not been assessed yet.