Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/product/drains/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion docs/product/drains/integration/cloudflare.mdx
Original file line number Diff line number Diff line change
@@ -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.
---

Expand Down
2 changes: 1 addition & 1 deletion docs/product/drains/integration/heroku.mdx
Original file line number Diff line number Diff line change
@@ -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.
---

Expand Down
34 changes: 34 additions & 0 deletions docs/product/drains/integration/supabase.mdx
Original file line number Diff line number Diff line change
@@ -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.

<Alert level="warning">

Supabase Log Drains are only available on the Supabase Team and Enterprise Plans

</Alert>

## 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.
2 changes: 1 addition & 1 deletion docs/product/drains/integration/vercel.mdx
Original file line number Diff line number Diff line change
@@ -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.
---

Expand Down
Loading