Skip to content

Commit d3f0e69

Browse files
provinzkrautbitsandfoxes
authored andcommitted
Update docs (#11364)
1 parent 0ad2ff7 commit d3f0e69

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": "9-11", "profiling": "12-15"}}
3033
import sentry_sdk
31-
from sentry_sdk.integrations.litestar import LitestarIntegration
3234

3335
sentry_sdk.init(
3436
dsn="___PUBLIC_DSN___",
@@ -42,9 +44,6 @@ sentry_sdk.init(
4244
# of sampled transactions.
4345
# We recommend adjusting this value in production.
4446
profiles_sample_rate=1.0,
45-
integrations=[
46-
LitestarIntegration(),
47-
],
4847
)
4948
```
5049

0 commit comments

Comments
 (0)