diff --git a/sentry_sdk/utils.py b/sentry_sdk/utils.py index 862eedae9c..08d2768cde 100644 --- a/sentry_sdk/utils.py +++ b/sentry_sdk/utils.py @@ -145,6 +145,8 @@ def get_sdk_name(installed_integrations): "quart", "sanic", "starlette", + "litestar", + "starlite", "chalice", "serverless", "pyramid", diff --git a/tests/test_basics.py b/tests/test_basics.py index cc4594d8ab..c9d80118c2 100644 --- a/tests/test_basics.py +++ b/tests/test_basics.py @@ -718,6 +718,8 @@ def foo(event, hint): (["quart"], "sentry.python.quart"), (["sanic"], "sentry.python.sanic"), (["starlette"], "sentry.python.starlette"), + (["starlite"], "sentry.python.starlite"), + (["litestar"], "sentry.python.litestar"), (["chalice"], "sentry.python.chalice"), (["serverless"], "sentry.python.serverless"), (["pyramid"], "sentry.python.pyramid"), @@ -756,6 +758,8 @@ def foo(event, hint): (["sanic", "quart", "sqlalchemy"], "sentry.python.quart"), (["starlette", "sanic", "rq"], "sentry.python.sanic"), (["chalice", "starlette", "modules"], "sentry.python.starlette"), + (["chalice", "starlite", "modules"], "sentry.python.starlite"), + (["chalice", "litestar", "modules"], "sentry.python.litestar"), (["serverless", "chalice", "pure_eval"], "sentry.python.chalice"), (["pyramid", "serverless", "modules"], "sentry.python.serverless"), (["tornado", "pyramid", "executing"], "sentry.python.pyramid"),