getsentry / getsentry/sentry-python

Performance spans for dynamically imported modules

Open
#1,720 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.