Skip to content

docs(otlp): Consolidate OTLP content and restructure navigation#16297

Merged
jaffrepaul merged 11 commits into
masterfrom
docs/consolidate-otlp-content
Feb 11, 2026
Merged

docs(otlp): Consolidate OTLP content and restructure navigation#16297
jaffrepaul merged 11 commits into
masterfrom
docs/consolidate-otlp-content

Conversation

@jaffrepaul
Copy link
Copy Markdown
Contributor

@jaffrepaul jaffrepaul commented Feb 7, 2026

DESCRIBE YOUR PR

Reorganize OTLP documentation for clearer information architecture and improved navigation:

OTLP Documentation Structure:

  • Create direct/ section for SDK-to-Sentry export (traces, logs)
  • Create forwarding/ section with pipelines/ (Collector, Vector, Fluent Bit) and sources/ (AWS CloudWatch, Kafka, Nginx, Syslog, Windows Events)
  • Update main OTLP index to clarify Sentry SDK linking vs OTel data ingestion scenarios
  • Simplify page titles and sidebar text for better navigation

Platform Drains:

  • Move platform drain pages (Vercel, Cloudflare, Heroku, etc.) to direct children of Log & Trace Drains
  • Add sidebar_title for cleaner navigation names
  • Focus drains section on managed platform integrations only

Migration:

  • Move OTLP Collector and forwarder docs from product/drains to concepts/otlp
  • Update all cross-references and internal links

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • 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

jaffrepaul and others added 4 commits February 7, 2026 17:26
Move OTLP-related content from product/drains to concepts/otlp for
clearer information architecture:

- Move OTel Collector docs to concepts/otlp/collector/
- Move collector guides (AWS CloudWatch, Kafka, Nginx, syslog, Windows)
  to concepts/otlp/collector/
- Move Vector and Fluent Bit docs to concepts/otlp/forwarders/
- Update product/drains to focus on platform drains only (Vercel,
  Cloudflare, Heroku, etc.)
- Update all cross-references

This creates clearer separation:
- concepts/otlp = OTLP protocols and tools (Collector, Vector, Fluent Bit)
- product/drains = Platform-specific managed integrations

Co-Authored-By: Claude <noreply@anthropic.com>
Reorganize OTLP documentation for clearer information architecture:

- Create direct/ section for SDK-to-Sentry export (traces, logs)
- Create forwarding/ section with pipelines/ (Collector, Vector, Fluent Bit)
  and sources/ (AWS CloudWatch, Kafka, Nginx, Syslog, Windows Events)
- Update index page to clarify Sentry SDK linking vs OTel data ingestion
- Simplify page titles and sidebar navigation
- Update all cross-references

Structure:
  otlp/
  ├── sentry-with-otel.mdx
  ├── direct/
  │   ├── traces.mdx
  │   └── logs.mdx
  └── forwarding/
      ├── tools/ (sidebar: Pipelines)
      │   ├── collector.mdx
      │   ├── vector.mdx
      │   └── fluentbit.mdx
      └── sources/
          ├── aws-cloudwatch.mdx
          ├── kafka.mdx
          ├── nginx.mdx
          ├── syslog.mdx
          └── windows-events.mdx

Co-Authored-By: Claude <noreply@anthropic.com>
Add dedicated subpages for each platform drain to provide focused
navigation in the sidebar. Each platform now appears as a child of
Platform Drains with its own page.

- Add sidebar_title for cleaner nav names
- Update internal links to new paths

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Feb 10, 2026 5:59pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Feb 10, 2026 5:59pm

Request Review

Add embedded video for setting up Vercel drains. Clarify that Vercel
Pro or higher plan is required in the prerequisites section.

Co-Authored-By: Claude <noreply@anthropic.com>
@jaffrepaul jaffrepaul marked this pull request as ready for review February 8, 2026 01:08
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread includes/opentelemetry-collector-guides.mdx Outdated
This file is no longer referenced after the collector.mdx file was
removed in the OTLP docs restructuring.

Co-Authored-By: Claude <noreply@anthropic.com>
- Rename "Platform Drains" to "Log and Trace Drains" throughout
- Add callouts explaining difference between drains and OTLP forwarding
  to help users choose the right approach
- Consolidate limitation alerts into dedicated Limitations section
- Simplify callout text to use OpenTelemetry Collector as example

Co-Authored-By: Claude <noreply@anthropic.com>
Rename the forwarding tools directory to pipelines for clearer naming.
Update all internal links to reflect the new path structure.

Co-Authored-By: Claude <noreply@anthropic.com>
Comment thread docs/concepts/otlp/index.mdx Outdated
Comment thread docs/concepts/otlp/direct/index.mdx Outdated
Comment thread docs/concepts/otlp/direct/index.mdx Outdated
Comment thread docs/concepts/otlp/forwarding/index.mdx Outdated
description: Forward logs and traces to Sentry from various sources using the OpenTelemetry Collector, Vector, or Fluent Bit.
---

Forward logs and traces to Sentry from infrastructure sources using a pipeline tool like the OpenTelemetry Collector, Vector, or Fluent Bit. This approach doesn't require modifying application code.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see we have docs talking about each of these. Let's link to each approach here. (Collector, Vector, Fluent Bit)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we could link to the pages nested here: /concepts/otlp/forwarding/pipelines/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread docs/concepts/otlp/forwarding/index.mdx Outdated
title: Direct OTLP Traces
sidebar_title: Traces
sidebar_order: 10
description: "Send OpenTelemetry traces directly to Sentry without a Sentry SDK."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You still need to have integrated with the Sentry SDK to use Sentry though, yeah?

Suggested change
description: "Send OpenTelemetry traces directly to Sentry without a Sentry SDK."
description: "Send OpenTelemetry traces directly to Sentry without using the Sentry SDK."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessarily. The use case is for those with Otel instrumented backends and no Sentry SDK. So they can send that Otel data into Sentry through the endpoint and use the trace & logs explorers in a project but their app doesn't have a Sentry SDK.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow. I didn't realize there was a path for integrating like that, good to know!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how present that use case will be, but a possibility.

Comment thread docs/concepts/otlp/direct/traces.mdx Outdated
Comment thread docs/concepts/otlp/direct/logs.mdx Outdated

<Include name="feature-available-open-beta-logs.mdx" />

Send logs directly from your OpenTelemetry SDK to Sentry's OTLP endpoint. You can find your endpoint URL and auth key in [Project settings > Client Keys (DSN)](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Send logs directly from your OpenTelemetry SDK to Sentry's OTLP endpoint. You can find your endpoint URL and auth key in [Project settings > Client Keys (DSN)](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/).
Send logs directly from your OpenTelemetry SDK to Sentry's OTLP endpoint. You can find your endpoint URL and auth key in [Project settings > Client Keys (DSN)](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/:projectId/keys/).

@@ -0,0 +1,52 @@
---
title: Direct OTLP Logs
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meta comment on this doc - I don't understand the value I am getting from this integration because this is a thin doc about how to set it up, with the main detail about logs ingestion being that there are limitations.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its quite literally docs that covers where to get a URL and where to put it for a specific demographic/use case. We mention the use case in the parent page. Could also put it on these pages to be clear?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a deal breaker, it just feels so technical and dry in the whole section, but I do recall that we talked about this before and this whole area is for people who already have Otel, so maybe it's less important?

Comment thread docs/concepts/otlp/direct/index.mdx Outdated
description: Send OpenTelemetry traces and logs directly to Sentry from your OTel SDK.
---

Configure your OpenTelemetry SDK to send traces and logs directly to Sentry's OTLP endpoints. This approach doesn't require an intermediary like the OpenTelemetry Collector.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Configure your OpenTelemetry SDK to send traces and logs directly to Sentry's OTLP endpoints. This approach doesn't require an intermediary like the OpenTelemetry Collector.
Configure your OpenTelemetry SDK to send traces and logs directly to Sentry's OTLP endpoints without an intermediary.

Do we need to mention Collector? If not, let's keep this concise.

@@ -0,0 +1,50 @@
---
title: Direct OTLP Traces
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meta comment here - it's hard to understand the value of this integration when the most descriptive part of its functionality is about all its limitations

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair. Not much to discuss here. Will think on it.

---
title: OpenTelemetry Collector
sidebar_order: 20
title: OpenTelemetry Collector Setup
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd consider restructuring this page to the two column layout, since it has many steps and a lot of snippets

Copy link
Copy Markdown
Contributor Author

@jaffrepaul jaffrepaul Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added in a14f2a1

| [Vector](/concepts/otlp/forwarding/pipelines/vector/) | Lightweight log routing with VRL transformations | ✅ | ❌ |
| [Fluent Bit](/concepts/otlp/forwarding/pipelines/fluentbit/) | Lightweight forwarding with minimal resource usage | ✅ | ✅ |

**Not sure which to use?** Start with the [OpenTelemetry Collector](/concepts/otlp/forwarding/pipelines/collector/) - it has the broadest source support and all [source guides](/concepts/otlp/forwarding/sources/) use it. No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to use a source to use a pipeline? Are we source agnostic?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agnostic. You don't need a source to use a pipeline. The sources are just guides for common infra setups that could be used. I'll update the wording here so this is more clear.


| Pipeline | Best For | Logs | Traces |
|----------|----------|:----:|:------:|
| [OpenTelemetry Collector](/concepts/otlp/forwarding/pipelines/collector/) | Full telemetry pipeline with receivers, processors, and exporters | ✅ | ✅ |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two green checks seems slightly disingenuous, since only Kafka as the source allows for traces. Perhaps we should have an asterisk noting that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair. I'll revise this page for clarity.

Copy link
Copy Markdown
Contributor

@sfanahata sfanahata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of snippet-heavy guides in /concepts/otlp/forwarding/that could use a look-over to see if a two-column layout would benefit them. I think it would be worth a pass to check some of those out. The sources especially seem ripe for that.

Left a few suggestions, and a link upgrade in a couple of places. I think it could use an update in those places, and then should be ready to go.

Co-authored-by: Shannon Anahata <shannon.anahata@gmail.com>
Copy link
Copy Markdown
Contributor

@sfanahata sfanahata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for going through those changes.

@jaffrepaul jaffrepaul merged commit 188fc7d into master Feb 11, 2026
14 checks passed
@jaffrepaul jaffrepaul deleted the docs/consolidate-otlp-content branch February 11, 2026 19:35
jaffrepaul added a commit that referenced this pull request Feb 13, 2026
Add 22 redirects in middleware.ts to preserve links when OTLP docs were
restructured in PR 16297:
- otlp-logs/otlp-traces → direct/logs, direct/traces
- product/drains/integration/* → product/drains/* (platform drains)
- product/drains/integration/{collector,vector,fluentbit} → concepts/otlp/forwarding/pipelines/*
- product/drains/otlp-guides/* → concepts/otlp/forwarding/sources/*

Ensures old URLs (bookmarks, product links, external refs) continue to work.

Refs GH-16297
Co-Authored-By: Claude <noreply@anthropic.com>

Co-authored-by: Cursor <cursoragent@cursor.com>
jaffrepaul added a commit that referenced this pull request Feb 13, 2026
Add 22 redirects in middleware.ts to preserve links when OTLP docs were
restructured in PR 16297:
- otlp-logs/otlp-traces → direct/logs, direct/traces
- product/drains/integration/* → product/drains/* (platform drains)
- product/drains/integration/{collector,vector,fluentbit} → concepts/otlp/forwarding/pipelines/*
- product/drains/otlp-guides/* → concepts/otlp/forwarding/sources/*

Ensures old URLs (bookmarks, product links, external refs) continue to work.

Refs GH-16297
Co-Authored-By: Claude <noreply@anthropic.com>

Co-authored-by: Cursor <cursoragent@cursor.com>
jaffrepaul added a commit that referenced this pull request Feb 13, 2026
Add redirects to preserve links when OTLP documentation was restructured
in PR 16297.

**What changed**

22 redirects in `middleware.ts` covering:
- `/concepts/otlp/otlp-logs/` → `/concepts/otlp/direct/logs/`
- `/concepts/otlp/otlp-traces/` → `/concepts/otlp/direct/traces/`
- `/product/drains/integration/*` → `/product/drains/*` (Vercel,
Cloudflare, Heroku, etc.)
-
`/product/drains/integration/{opentelemetry-collector,vector,fluentbit}/`
→ `/concepts/otlp/forwarding/pipelines/*`
- `/product/drains/otlp-guides/*` →
`/concepts/otlp/forwarding/sources/*` (AWS CloudWatch, Kafka, Nginx,
Syslog, Windows Events)

**Why**

Old URLs—from product links, bookmarks, search results, or external
references—will continue to resolve correctly after the OTLP restructure
lands.

Refs GH-16297

Made with [Cursor](https://cursor.com)

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants