Skip to content

docs(python): Update Python main quick start guide#18365

Open
inventarSarah wants to merge 2 commits into
masterfrom
smi/quick-start/python
Open

docs(python): Update Python main quick start guide#18365
inventarSarah wants to merge 2 commits into
masterfrom
smi/quick-start/python

Conversation

@inventarSarah

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

This branch contains the updated Python quick start guide.
Most important updates:

  • updated to split layout
  • added callout at the top to guide users to the integration page if they use a framework
  • added poetry install command (as seen in the guide in Sentry)
  • added Metrics onboarding option (as seen in the guide in Sentry)
  • added "instrumenting your app" section -> hope I got the bit about creating transactions right - lmk
  • added verify examples for tracing, logs, metrics
  • added profiling callout to warn users about the different profiling modes
  • extended Next Steps section

Closes: #18364

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

EXTRA RESOURCES

@inventarSarah inventarSarah self-assigned this Jun 11, 2026
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jun 11, 2026 7:52am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jun 11, 2026 7:52am

Request Review

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a major glow up, thank you!

Looks good to me, but please have a look at the comments.

Comment on lines +124 to +129
<Alert level="warning" title="Continuous profiling vs transaction-based profiling">

With the configuration above, you enable continuous profiling. However, the SDK also supports transaction-based profiling via the `profiles_sample_rate` option. These profiling mode options have similar names, so make sure you're using the right one for your chosen mode.
See <PlatformLink to="/profiling/">Profiling</PlatformLink> to learn more.

</Alert>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd leave this out altogether since we'll be deprecating transaction-based profiling and dropping it in the next major. So for folks setting up the SDK for the first time, which is the target audience here, I'd just recommend to set up continuous profiling.

On the profiling page, we should absolutely talk about the distinction and the confusing options (I believe we already do).

<OnboardingOption optionId="performance">
### Instrumenting Your App

The Sentry SDK automatically detects your installed packages and enables matching integrations, so operations like HTTP requests or database queries made with supported libraries will be captured as spans automatically.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most integrations will auto enable but there's still a handful that need to be enabled manually -- the current wording makes it sound like all are auto-enabling.

Maybe something like this? Or a bigger rewording would make sense here?

Suggested change
The Sentry SDK automatically detects your installed packages and enables matching integrations, so operations like HTTP requests or database queries made with supported libraries will be captured as spans automatically.
The Sentry SDK automatically detects your installed packages and enables matching integrations for the most popular frameworks and libraries, so operations like HTTP requests or database queries made with supported libraries will be captured as spans automatically.

Comment on lines +266 to +268
sentry_sdk.logger.info('This is an info log message')
sentry_sdk.logger.warning('This is a warning message')
sentry_sdk.logger.error('This is an error message')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sentry_sdk.logger.info('This is an info log message')
sentry_sdk.logger.warning('This is a warning message')
sentry_sdk.logger.error('This is an error message')
sentry_sdk.logger.info("This is an info log message")
sentry_sdk.logger.warning("This is a warning message")
sentry_sdk.logger.error("This is an error message")

No functional change; just to keep the quotes consistent on the page

@ericapisani ericapisani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fantastic! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Python (vanilla) quick start guide

3 participants