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 @@ -16,3 +16,4 @@ To send data to Sentry, we recommend using the Sentry SDKs. However we also supp
- [Cloudflare](/product/drains/integration/cloudflare/)
- [Heroku](/product/drains/integration/heroku/)
- [Supabase](/product/drains/integration/supabase/)
- [Shopify Hydrogen](/product/drains/integration/shopify-hydrogen/)
2 changes: 1 addition & 1 deletion docs/product/drains/integration/cloudflare.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Cloudflare Workers Observability
sidebar_order: 40
description: Learn how to set up Cloudflare Workers Observability to send forward logs and traces data to Sentry.
description: Learn how to set up Cloudflare Workers Observability to forward logs and traces data to Sentry.
---

Cloudflare Workers supports [exporting OpenTelemetry (OTEL)-compliant](https://developers.cloudflare.com/workers/observability/exporting-opentelemetry-data/) to send logs and traces 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,7 +1,7 @@
---
title: Heroku Telemetry Drains
sidebar_order: 60
description: Learn how to set up Heroku Telemetry Drains to send forward logs and traces data to Sentry.
description: Learn how to set up Heroku Telemetry Drains to forward logs and traces data to Sentry.
---

Heroku Telemetry supports [exporting OpenTelemetry (OTEL)-compliant](https://devcenter.heroku.com/articles/heroku-telemetry) to send logs and traces to Sentry. Sending metrics is not supported yet.
Expand Down
36 changes: 36 additions & 0 deletions docs/product/drains/integration/shopify-hydrogen.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Shopify Hydrogen Drains
sidebar_order: 80
description: Learn how to set up Shopify trace exports to forward trace data from your Hydrogen apps to Sentry.
---

[Shopify Hydrogen trace exports](https://shopify.dev/docs/storefronts/headless/hydrogen/trace-exports) let you send a sample of your request traces to Sentry via the OpenTelemetry (OTLP) format.

## Prerequisites

Before you begin, ensure you have:

- A Shopify Hydrogen app you want to monitor
- A Sentry project you want to send data to

## Trace Drains

Go through the following steps to

1. From your Shopify admin, under **Sales channels**, click **Hydrogen**.
2. On the **Hydrogen storefront page**, click **Storefront settings**.
3. On the **Storefront settings page**, click **Integrations**.
4. On the **Integrations settings** page, click **Connect an observability drain** and select **HTTP**.
5. Under the trace export endpoint URL field add the Sentry OTLP traces endpoint in the URL field. You can find the endpoint in your [Sentry Project Settings](https://sentry.io/settings/projects/) under **Client Keys (DSN)** > **OpenTelemetry (OTLP)** under the **OTLP Traces Endpoint** section.

```bash
___OTLP_TRACES_URL___
```

6. Add the Sentry Authentication Header under the authentication headers section. You'll also find the header value in your [Sentry Project Settings](https://sentry.io/settings/projects/) under **Client Keys (DSN)** > **OpenTelemetry (OTLP)** under the **OTLP Traces Endpoint Headers** section.

```
x-sentry-auth: sentry sentry_key=___PUBLIC_KEY___
```

7. Click **Save** to save your configuration. After you save the configuration, sampled traces start flowing to Sentry. It may take a few minutes, and you'll need to generate traffic on your storefront before traces appear.
4 changes: 2 additions & 2 deletions docs/product/drains/integration/vercel.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Vercel Drains
sidebar_order: 50
description: Learn how to set up Vercel drains to send forward logs and traces data to Sentry.
description: Learn how to set up Vercel drains to forward logs and traces data to Sentry.
---

Vercel Drains let you forward traces and logs from applications running on Vercel to Sentry.
Expand Down Expand Up @@ -71,7 +71,7 @@ After selecting the Traces data type, you'll need to configure the drain to send

1. Provide a name for your drain and select which projects should send data to your endpoint. You can choose all projects or select specific ones.
2. Configure the sampling rate to control the volume of data sent to your drain. We recommend sampling 100% of the data to ensure you get all the data you need.
3. Under the custom endpoint tab add the Sentry Vercel Log Drain Endpoint in the URL field. You can find the endpoint in your [Sentry Project Settings](https://sentry.io/settings/projects/) under **Client Keys (DSN)** > **OpenTelemetry (OTLP)** under the **OTLP Traces Endpoint** section.
3. Under the custom endpoint tab add the Sentry Vercel Trace Drain Endpoint in the URL field. You can find the endpoint in your [Sentry Project Settings](https://sentry.io/settings/projects/) under **Client Keys (DSN)** > **OpenTelemetry (OTLP)** under the **OTLP Traces Endpoint** section.

```bash
___OTLP_TRACES_URL___
Expand Down
Loading