diff --git a/docs/product/drains/index.mdx b/docs/product/drains/index.mdx index 07a51846d02102..6c22b0ff6798d2 100644 --- a/docs/product/drains/index.mdx +++ b/docs/product/drains/index.mdx @@ -15,3 +15,4 @@ To send data to Sentry, we recommend using the Sentry SDKs. However we also supp - [Vercel](/product/drains/integration/vercel/) - [Cloudflare](/product/drains/integration/cloudflare/) - [Heroku](/product/drains/integration/heroku/) +- [Supabase](/product/drains/integration/supabase/) diff --git a/docs/product/drains/integration/cloudflare.mdx b/docs/product/drains/integration/cloudflare.mdx index ccd1ca995d7cdb..275820b459190b 100644 --- a/docs/product/drains/integration/cloudflare.mdx +++ b/docs/product/drains/integration/cloudflare.mdx @@ -1,6 +1,6 @@ --- title: Cloudflare Workers Observability -sidebar_order: 75 +sidebar_order: 40 description: Learn how to set up Cloudflare Workers Observability to send forward logs and traces data to Sentry. --- diff --git a/docs/product/drains/integration/heroku.mdx b/docs/product/drains/integration/heroku.mdx index 67e9230b979ff7..9b0fc16a69705c 100644 --- a/docs/product/drains/integration/heroku.mdx +++ b/docs/product/drains/integration/heroku.mdx @@ -1,6 +1,6 @@ --- title: Heroku Telemetry Drains -sidebar_order: 75 +sidebar_order: 60 description: Learn how to set up Heroku Telemetry Drains to send forward logs and traces data to Sentry. --- diff --git a/docs/product/drains/integration/supabase.mdx b/docs/product/drains/integration/supabase.mdx new file mode 100644 index 00000000000000..e4cf30194251f1 --- /dev/null +++ b/docs/product/drains/integration/supabase.mdx @@ -0,0 +1,34 @@ +--- +title: Supabase Log Drains +sidebar_order: 70 +description: Learn how to set up Supabase Log Drains to forward logs to Sentry. +--- + +The [Sentry Supabase Log drain](https://supabase.com/docs/guides/telemetry/log-drains#sentry) will forward all logs from your Supabase stack to Sentry. + + + +Supabase Log Drains are only available on the Supabase Team and Enterprise Plans + + + +## Prerequisites + +Before you begin, ensure you have: + +- A Supabase project that you want to monitor +- A Sentry project you want to send data to + +## Adding a Log Drain + +To setup the Sentry log drain, you need to do the following: + +1. Grab your DSN from your [Sentry project settings](https://docs.sentry.io/concepts/key-terms/dsn-explainer/#where-to-find-your-data-source-name-dsn). + +```bash +___DSN___ +``` + +2. Create a Sentry log drain in the [Supabase dashboard](https://supabase.com/dashboard/project/_/settings/log-drains). Make sure you provide the DSN you grabbed in the previous step. + +Then you should get logs in your Sentry project. All fields from the log event are attached as attributes to the Sentry log, which can be used for filtering and grouping in the Sentry UI. diff --git a/docs/product/drains/integration/vercel.mdx b/docs/product/drains/integration/vercel.mdx index 4fd7730d894ee1..8097de93425ef2 100644 --- a/docs/product/drains/integration/vercel.mdx +++ b/docs/product/drains/integration/vercel.mdx @@ -1,6 +1,6 @@ --- title: Vercel Drains -sidebar_order: 75 +sidebar_order: 50 description: Learn how to set up Vercel drains to send forward logs and traces data to Sentry. ---