Skip to content

Add Python integration docs for Strawberry #8085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Oct 4, 2023

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Sep 29, 2023

Pre-merge checklist

If you work at Sentry, you're able to merge your own PR without review, but please don't unless there's a good reason.

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

Description of changes

We're adding a Strawberry integration to the SDK in getsentry/sentry-python#2393, this adds the docs for it.

Direct link to the added page: https://sentry-docs-git-ivana-python-strawberry-integration.sentry.dev/platforms/python/integrations/strawberry/

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Extra resources

@vercel
Copy link

vercel bot commented Sep 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 9:27am

@sentrivana sentrivana changed the title Ivana/python strawberry integration Add Python integration docs for Strawberry Sep 29, 2023
Copy link
Contributor

@lizokm lizokm left a comment

Choose a reason for hiding this comment

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

LGTM

@sentrivana sentrivana marked this pull request as ready for review October 3, 2023 12:53
@sentrivana
Copy link
Contributor Author

sentrivana commented Oct 3, 2023

@lizokm Thanks a lot for the improvements! I've since pushed one more commit: 8312897 Could you please take a look at the new paragraph? 🙏🏻 (The build -> built typo is already fixed.)

Copy link
Contributor

@lizokm lizokm left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment on lines 132 to 136
Strawberry comes with a (now deprecated) built-in
[Sentry tracing extension](https://strawberry.rocks/docs/extensions/sentry-tracing)
that this integration is built on. If you're using both, the Sentry SDK
integration will deactivate the built-in Strawberry extension to prevent
duplicate traces.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Strawberry comes with a (now deprecated) built-in
[Sentry tracing extension](https://strawberry.rocks/docs/extensions/sentry-tracing)
that this integration is built on. If you're using both, the Sentry SDK
integration will deactivate the built-in Strawberry extension to prevent
duplicate traces.
The Strawberry integration was built on and comes with a (now deprecated)
[Sentry tracing extension](https://strawberry.rocks/docs/extensions/sentry-tracing). To prevent duplicate traces, the Sentry SDK integration will deactivate the built-in Strawberry extension if you happen to be using both.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Applied the change to the second sentence but left the first one as is -- Strawberry the library atm comes with a Sentry extension that we're now essentially replacing by including a Strawberry integration in Sentry instead.

@sentrivana sentrivana merged commit 9ffd7ee into master Oct 4, 2023
@sentrivana sentrivana deleted the ivana/python-strawberry-integration branch October 4, 2023 13:10
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants