From b17604f5d60be85d4f4835ee694f720cf49f603a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Tue, 2 Jun 2026 15:11:50 -0400 Subject: [PATCH] fix(drains): Redirect old integration/ drain paths and fix Vercel tab name The #16297 OTLP consolidation flattened /product/drains/integration/ into /product/drains/ and moved the OTLP Collector page to /concepts/otlp/forwarding/pipelines/collector/, but no redirects were added, so old URLs (and in-app Learn more links) 404. - Add redirect for the flattened integration/ subfolder - Add specific redirect for the relocated OTLP Collector page - Vercel manual setup: the Client Keys (DSN) tab is labeled 'Vercel Drains' in the app, not 'Vercel' --- docs/product/drains/vercel.mdx | 4 ++-- redirects.js | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/product/drains/vercel.mdx b/docs/product/drains/vercel.mdx index 78d24bf99c156..339c212f8ded9 100644 --- a/docs/product/drains/vercel.mdx +++ b/docs/product/drains/vercel.mdx @@ -56,13 +56,13 @@ After selecting the Logs data type, you'll need to configure the drain to send d 3. Select which log sources to collect. See [Log Source Details](#log-source-details) for more information. 4. Select which environments to drain from. You can choose to drain from all environments or select specific ones. -5. 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)** > **Vercel**. You can select either JSON or NDJSON encoding. +5. 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)** > **Vercel Drains**. You can select either JSON or NDJSON encoding. ```bash ___VERCEL_LOG_DRAIN_URL___ ``` -6. Click the Custom Headers toggle and add the Sentry Authentication Header. You'll also find the header value in your [Sentry Project Settings](https://sentry.io/settings/projects/) under **Client Keys (DSN)** > **Vercel**. +6. Click the Custom Headers toggle and add the Sentry Authentication Header. You'll also find the header value in your [Sentry Project Settings](https://sentry.io/settings/projects/) under **Client Keys (DSN)** > **Vercel Drains**. ``` x-sentry-auth: sentry sentry_key=___PUBLIC_KEY___ diff --git a/redirects.js b/redirects.js index 7d6184211d7ae..79d211fb39cd5 100644 --- a/redirects.js +++ b/redirects.js @@ -2407,6 +2407,15 @@ const userDocsRedirects = [ source: '/product/alerts/:path*', destination: '/product/monitors-and-alerts/alerts/', }, + // Drains reorg: integration/ subfolder flattened, OTLP collector moved to concepts + { + source: '/product/drains/integration/opentelemetry-collector/', + destination: '/concepts/otlp/forwarding/pipelines/collector/', + }, + { + source: '/product/drains/integration/:path*', + destination: '/product/drains/:path*', + }, ]; /**