Skip to content

Commit 1a0da5f

Browse files
authored
1 parent 34ca625 commit 1a0da5f

File tree

5 files changed

+38
-3
lines changed

5 files changed

+38
-3
lines changed

docs/product/drains/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ To send data to Sentry, we recommend using the Sentry SDKs. However we also supp
1515
- [Vercel](/product/drains/integration/vercel/)
1616
- [Cloudflare](/product/drains/integration/cloudflare/)
1717
- [Heroku](/product/drains/integration/heroku/)
18+
- [Supabase](/product/drains/integration/supabase/)

docs/product/drains/integration/cloudflare.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Cloudflare Workers Observability
3-
sidebar_order: 75
3+
sidebar_order: 40
44
description: Learn how to set up Cloudflare Workers Observability to send forward logs and traces data to Sentry.
55
---
66

docs/product/drains/integration/heroku.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Heroku Telemetry Drains
3-
sidebar_order: 75
3+
sidebar_order: 60
44
description: Learn how to set up Heroku Telemetry Drains to send forward logs and traces data to Sentry.
55
---
66

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Supabase Log Drains
3+
sidebar_order: 70
4+
description: Learn how to set up Supabase Log Drains to forward logs to Sentry.
5+
---
6+
7+
The [Sentry Supabase Log drain](https://supabase.com/docs/guides/telemetry/log-drains#sentry) will forward all logs from your Supabase stack to Sentry.
8+
9+
<Alert level="warning">
10+
11+
Supabase Log Drains are only available on the Supabase Team and Enterprise Plans
12+
13+
</Alert>
14+
15+
## Prerequisites
16+
17+
Before you begin, ensure you have:
18+
19+
- A Supabase project that you want to monitor
20+
- A Sentry project you want to send data to
21+
22+
## Adding a Log Drain
23+
24+
To setup the Sentry log drain, you need to do the following:
25+
26+
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).
27+
28+
```bash
29+
___DSN___
30+
```
31+
32+
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.
33+
34+
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.

docs/product/drains/integration/vercel.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Vercel Drains
3-
sidebar_order: 75
3+
sidebar_order: 50
44
description: Learn how to set up Vercel drains to send forward logs and traces data to Sentry.
55
---
66

0 commit comments

Comments
 (0)