Skip to content

Commit 2e8b78c

Browse files
committed
Update docs
1 parent b3d0073 commit 2e8b78c

File tree

1 file changed

+4
-5
lines changed
  • docs/platforms/python/integrations/litestar

1 file changed

+4
-5
lines changed

docs/platforms/python/integrations/litestar/index.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ pip install --upgrade 'sentry-sdk[litestar]' uvicorn
1515

1616
## Configure
1717

18-
Add `LitestarIntegration()` to your `integrations` list:
18+
If you have the `litestar` package in your dependencies, the Litestar integration will be enabled automatically when you initialize the Sentry SDK.
1919

20+
In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/explore/profiling/).
21+
22+
Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.
2023

2124
<OnboardingOptionButtons
2225
options={[
@@ -28,7 +31,6 @@ Add `LitestarIntegration()` to your `integrations` list:
2831

2932
```python {"onboardingOptions": {"performance": "6-8", "profiling": "9-12"}}
3033
import sentry_sdk
31-
from sentry_sdk.integrations.litestar import LitestarIntegration
3234

3335
sentry_sdk.init(
3436
dsn="___PUBLIC_DSN___",
@@ -39,9 +41,6 @@ sentry_sdk.init(
3941
# of sampled transactions.
4042
# We recommend adjusting this value in production.
4143
profiles_sample_rate=1.0,
42-
integrations=[
43-
LitestarIntegration(),
44-
],
4544
)
4645
```
4746

0 commit comments

Comments
 (0)