From b01d54683192cc9962f85172c1e8c45cd8b79983 Mon Sep 17 00:00:00 2001 From: paulj Date: Mon, 3 Nov 2025 18:06:13 -0500 Subject: [PATCH] add code snippet language to interpolate api --- docs/product/drains/integration/cloudflare.mdx | 4 ++-- docs/product/drains/integration/vercel.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/product/drains/integration/cloudflare.mdx b/docs/product/drains/integration/cloudflare.mdx index 49fc7d115ca42..ccd1ca995d7cd 100644 --- a/docs/product/drains/integration/cloudflare.mdx +++ b/docs/product/drains/integration/cloudflare.mdx @@ -28,7 +28,7 @@ To configure your logs destination, click **Add destination** and configure the 2. Destination Type: Select Logs 3. OTLP Endpoint: Your Sentry OTLP logs endpoint (e.g., `https://{HOST}/api/{PROJECT_ID}/integration/otlp/v1/logs`) -``` +```bash ___OTLP_LOGS_URL___ ``` @@ -50,7 +50,7 @@ To configure your traces destination, click **Add destination** and configure th 2. Destination Type: Select Traces 3. OTLP Endpoint: Your Sentry OTLP traces endpoint (e.g., `https://{HOST}/api/{PROJECT_ID}/integration/otlp/v1/traces`) -``` +```bash ___OTLP_TRACES_URL___ ``` diff --git a/docs/product/drains/integration/vercel.mdx b/docs/product/drains/integration/vercel.mdx index 15c15c2faddaa..4205a13d08382 100644 --- a/docs/product/drains/integration/vercel.mdx +++ b/docs/product/drains/integration/vercel.mdx @@ -47,7 +47,7 @@ After selecting the Logs data type, you'll need to configure the drain to send d 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. -``` +```bash ___VERCEL_LOG_DRAIN_URL___ ``` @@ -67,7 +67,7 @@ After selecting the Traces data type, you'll need to configure the drain to send 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. -``` +```bash ___OTLP_TRACES_URL___ ```