sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Performance spans for dynamically imported modules

Open antonpirker opened this issue 3 years ago • 0 comments

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

antonpirker avatar Nov 02 '22 14:11 antonpirker