Skip to content

add docs for supabase integration #13545

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 3 commits into from
Apr 30, 2025
Merged

Conversation

smeubank
Copy link
Member

Docs for supabase support based on getsentry/sentry-javascript#15436, and adding a coming soon to reference the work here getsentry/sentry-javascript#14611

Copy link

vercel bot commented Apr 29, 2025

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 Apr 30, 2025 8:17am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Apr 30, 2025 8:17am
develop-docs ⬜️ Ignored (Inspect) Visit Preview Apr 30, 2025 8:17am

@smeubank smeubank requested review from onurtemizkan and s1gr1d April 29, 2025 10:25
Copy link

codecov bot commented Apr 29, 2025

Bundle Report

Changes will increase total bundle size by 246 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.14MB 252 bytes (0.0%) ⬆️
sentry-docs-client-array-push 9.47MB -6 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.75MB -0.0%
../instrumentation.js -3 bytes 1.08MB -0.0%
9523.js -3 bytes 1.05MB -0.0%
../app/[[...path]]/page.js.nft.json 87 bytes 389.29kB 0.02%
../app/platform-redirect/page.js.nft.json 87 bytes 389.2kB 0.02%
../app/sitemap.xml/route.js.nft.json 87 bytes 387.18kB 0.02%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 868.7kB -0.0%
static/chunks/8165-*.js -3 bytes 410.1kB -0.0%
server/middleware-*.js -5.55kB 1.0kB -84.74%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
static/wAax3WuNeD-*.js (New) 578 bytes 578 bytes 100.0% 🚀
static/wAax3WuNeD-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/yzzmxNQnIgebUCfE2I_eI/_buildManifest.js (Deleted) -578 bytes 0 bytes -100.0% 🗑️
static/yzzmxNQnIgebUCfE2I_eI/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

Copy link
Collaborator

@onurtemizkan onurtemizkan left a comment

Choose a reason for hiding this comment

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

Looks great to me! 🚀

smeubank and others added 2 commits April 30, 2025 09:44
removing this for now, i think we can can discuss if it really helps to enhance hte docs later. For now I think it is a distraction

```### Using the Instrumentation Method

The instrumentation method is available for specific use cases where the integration method isn't suitable:

```javascript
import * as Sentry from '@sentry/browser';
import { createClient } from '@supabase/supabase-js';

const supabaseClient = createClient('YOUR_SUPABASE_URL', 'YOUR_SUPABASE_KEY');
Sentry.instrumentSupabaseClient(supabaseClient);
```

Use this method when:
- You need to instrument a Supabase client that was created before Sentry was initialized
- You want to add instrumentation to multiple Supabase clients at different times
- You're working in a codebase where you can't modify the Sentry initialization
- You need to add instrumentation dynamically after the application has started
- You're working with a legacy codebase where modifying the Sentry initialization is difficult
```
@smeubank smeubank enabled auto-merge (squash) April 30, 2025 07:49
@smeubank smeubank merged commit cb27fb3 into master Apr 30, 2025
10 checks passed
@smeubank smeubank deleted the feat(supabase)add-integration-docs branch April 30, 2025 08:17
codyde added a commit that referenced this pull request May 1, 2025
* 'master' of https://github.com/getsentry/sentry-docs:
  Add "Data Collected" page for Godot SDK (and more) (#13533)
  Clarify FK docs (#13562)
  Clarify db index docs (#13561)
  Remove non-functioning video embed (#13557)
  Masinette integrations elba (#13503)
  Incorporate Uptime Monitors Into The Crons Management Page (#13507)
  feat(javascript): Add "Data Collected" (#13527)
  docs(relay): remove entries that are not scrubbed by default (#13555)
  flutter: Add note to app start integration (#13479)
  ref(flutter): move custom zone handling code snippet from init to troubleshooting (#13478)
  docs(python): add uv option to python install instructions (#13510)
  add docs for supabase integration (#13545)
  feat(native): add view hierarchy to develop docs (#13544)
  feat(autofix): Update autofix images (#13540)
  Ad alerts and dashboard page to new quickstart guide (#13522)
  Add data enrichment page to new onboarding guide (#13508)
  Add first onboarding guide to docs (#13462)
  (feat) Sentry MCP Documentation  (#13524)
  feat(Capacitor): Migration guides for version 2 (#13022)
  docs(js): move API-related content from Manual Setup to APIs page (#13327)
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.

2 participants