-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update sentry breadcrumbs documentation #14742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update sentry breadcrumbs documentation #14742
Conversation
…parison Co-authored-by: sasha.blumenfeld <sasha.blumenfeld@sentry.io>
Cursor Agent can help with this pull request. Just |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bundle ReportChanges will decrease total bundle size by 9.3kB (-0.04%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-server-cjsAssets Changed:
view changes for bundle: sentry-docs-client-array-pushAssets Changed:
|
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
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
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?
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
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