Skip to content

Conversation

cursor[bot]
Copy link

@cursor cursor bot commented Aug 27, 2025

DESCRIBE YOUR PR

Updated the first paragraph of the breadcrumbs documentation (docs/product/issues/issue-details/breadcrumbs/index.mdx).

This change clarifies the purpose and limitations of breadcrumbs, distinguishing them from logs. It emphasizes that breadcrumbs are lightweight and context-specific to errors, while recommending logs for a broader, searchable, and unsampled event stream. This provides a more accurate and comprehensive understanding of when to use each feature.

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

LEGAL BOILERPLATE

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


Slack Thread

Open in Cursor Open in Web

…parison

Co-authored-by: sasha.blumenfeld <sasha.blumenfeld@sentry.io>
Copy link
Author

cursor bot commented Aug 27, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Copy link

vercel bot commented Aug 27, 2025

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

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Aug 28, 2025 9:10am
sentry-docs Ready Ready Preview Comment Aug 28, 2025 9:10am

Copy link

codecov bot commented Aug 27, 2025

Bundle Report

Changes will decrease total bundle size by 9.3kB (-0.04%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.9MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.5MB -9.3kB (-0.07%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.78MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%
../app/[[...path]]/page.js.nft.json -3.1kB 770.03kB -0.4%
../app/platform-redirect/page.js.nft.json -3.1kB 769.94kB -0.4%
../app/sitemap.xml/route.js.nft.json -3.1kB 767.41kB -0.4%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/pWAjCUBf59WO2WXc8Y0SS/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/pWAjCUBf59WO2WXc8Y0SS/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/gHIhZ70PreJGUge6BGMvM/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/gHIhZ70PreJGUge6BGMvM/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

@@ -4,7 +4,7 @@ description: "Learn about using breadcrumbs on the Issue Details page to help de
sidebar_order: 60
---

Sentry uses _breadcrumbs_ to create a trail of events that happened prior to an issue. These events are very similar to traditional logs, but can record more rich structured data.
Sentry uses breadcrumbs to capture a trail of events leading up to an error. They provide context about what happened just before an issue occurred. Breadcrumbs are lightweight by design, attached to errors and transactions, and subject to the error's size limit. For a searchable, unsampled trail of events, Sentry recommends using [logs](https://docs.sentry.io/product/explore/logs/). Logs capture a continuous stream of activity across your application. They are structured, searchable, and connected to spans and traces. Unlike breadcrumbs, correlated logs have no size limits and provide a broader view of everything happening in your system—not just the context before an error.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Sentry uses breadcrumbs to capture a trail of events leading up to an error. They provide context about what happened just before an issue occurred. Breadcrumbs are lightweight by design, attached to errors and transactions, and subject to the error's size limit. For a searchable, unsampled trail of events, Sentry recommends using [logs](https://docs.sentry.io/product/explore/logs/). Logs capture a continuous stream of activity across your application. They are structured, searchable, and connected to spans and traces. Unlike breadcrumbs, correlated logs have no size limits and provide a broader view of everything happening in your system—not just the context before an error.
Sentry uses breadcrumbs to capture a trail of events leading up to an error. They provide context about what happened just before an issue occurred. Breadcrumbs are lightweight by design, attached to errors and transactions, and subject to the error's size limit. For a searchable, unsampled trail of events, Sentry recommends using [logs](/product/explore/logs/). Logs capture a continuous stream of activity across your application. They are structured, searchable, and connected to spans and traces. Unlike breadcrumbs, correlated logs have no size limits and provide a broader view of everything happening in your system—not just the context before an error.

Copy link
Member

Choose a reason for hiding this comment

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

correlated logs have no size limits

this is not correct, there's still an upper bound. Maybe we just remove

Logs capture a continuous stream of activity across your application. They are structured, searchable, and connected to spans and traces. Unlike breadcrumbs, correlated logs have no size limits and provide a broader view of everything happening in your system—not just the context before an error.

as we do mention the size limit in subject to the error's size limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants