Skip to content

Commit e4a39d2

Browse files
jaffrepaulcleptric
andauthored
Fix broken url interpolation (#15391)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This is a fix for the code snippets that are just rendering strings, e.g `___VERCEL_LOG_DRAIN_URL___` This issue was caused by a client/server mismatch and how the code block children are structured without a language specification. A single text node just renders the string. The other refs work because when there's other text in the code block, the structure works as expected. Just needed to add a language keyword for things to align. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [ ] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/) Co-authored-by: Michi Hoffmann <cleptric@users.noreply.github.com>
1 parent 6742d0a commit e4a39d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/product/drains/integration/cloudflare.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To configure your logs destination, click **Add destination** and configure the
2828
2. Destination Type: Select Logs
2929
3. OTLP Endpoint: Your Sentry OTLP logs endpoint (e.g., `https://{HOST}/api/{PROJECT_ID}/integration/otlp/v1/logs`)
3030

31-
```
31+
```bash
3232
___OTLP_LOGS_URL___
3333
```
3434

@@ -50,7 +50,7 @@ To configure your traces destination, click **Add destination** and configure th
5050
2. Destination Type: Select Traces
5151
3. OTLP Endpoint: Your Sentry OTLP traces endpoint (e.g., `https://{HOST}/api/{PROJECT_ID}/integration/otlp/v1/traces`)
5252

53-
```
53+
```bash
5454
___OTLP_TRACES_URL___
5555
```
5656

docs/product/drains/integration/vercel.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ After selecting the Logs data type, you'll need to configure the drain to send d
4747
4. Select which environments to drain from. You can choose to drain from all environments or select specific ones.
4848
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.
4949

50-
```
50+
```bash
5151
___VERCEL_LOG_DRAIN_URL___
5252
```
5353

@@ -67,7 +67,7 @@ After selecting the Traces data type, you'll need to configure the drain to send
6767
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.
6868
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.
6969

70-
```
70+
```bash
7171
___OTLP_TRACES_URL___
7272
```
7373

0 commit comments

Comments
 (0)