Skip to content

docs(guides): Add practical 'what to do next' guides for key Sentry features#16410

Open
jaffrepaul wants to merge 12 commits intomasterfrom
docs/early-days-5-reasons-guides
Open

docs(guides): Add practical 'what to do next' guides for key Sentry features#16410
jaffrepaul wants to merge 12 commits intomasterfrom
docs/early-days-5-reasons-guides

Conversation

@jaffrepaul
Copy link
Contributor

Add a new /guides section with practical "what to do next" guidance for users who have set up Sentry but need direction on how to get value from it.

This introduces 6 new guides covering core Sentry workflows:

  • What to Monitor (Issues/Errors): Where to look for critical errors, how to prioritize issues, and setting up alerts
  • What to Log: High-value logging patterns for auth, payments, APIs, background jobs, and feature flags
  • What to Track (Metrics): Business events, application health, resource utilization, latency, and business values
  • Querying Traces: Finding performance issues using auto-instrumented data (page loads, API calls, UI blocking, navigation, resources)
  • Custom Spans: When and how to add custom instrumentation for specific operations
  • Session Replay: How to use replays to debug user-reported issues and understand user behavior

Each guide follows a consistent pattern:

  • Opening hook: "You've set up X. Now what?"
  • Practical examples with code snippets and search queries
  • "What to look for" guidance on interpreting results
  • Alert recommendations where applicable
  • Links to relevant docs for deeper exploration

The guides focus on being immediately actionable rather than comprehensive reference material, helping users move from "Sentry is installed" to "Sentry is helping me find and fix problems."

Co-Authored-By: Claude Sonnet 4.5 (1M context) noreply@anthropic.com

jaffrepaul and others added 5 commits February 13, 2026 16:56
…cs, and traces

Add four new documentation pages that bridge the gap between SDK setup
and getting value from Sentry's observability features:

- what-to-log.mdx: High-value logging patterns with search and alert examples
- what-to-track.mdx: Metric patterns for counters, gauges, and distributions
- querying-traces.mdx: How to query auto-instrumented trace data
- custom-spans.mdx: When and how to add custom instrumentation

Each guide follows a consistent "5 things to add" structure with code
examples, query patterns, and alert recommendations.

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

vercel bot commented Feb 17, 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 18, 2026 4:50am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Feb 18, 2026 4:50am

Request Review

Link Sentry feature names (Sentry Issues, Sentry Logs, Sentry Metrics,
Sentry Tracing, Session Replay) in the opening sentences to their
corresponding product walkthrough pages under /product/explore/ and
/product/issues/. This provides users with easy navigation to comprehensive
product documentation while maintaining the practical focus of the guides.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>

## The Pattern

```javascript
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this was being discussed on slack, but keeping all the examples in JS might make this a little alienating to some users. Would it make sense to maybe add tabs here for Python and PHP as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, this could be a follow up PR to keep things clean.


**Context:** Tags, user info, and breadcrumbs help you debug faster. Tags are searchable, so use them for high-cardinality data like IDs, regions, and feature flags.

Every error in Sentry is automatically trace-connected. Click the trace ID to see the full [trace view](/concepts/key-terms/tracing/trace-view/) and understand what led to the error.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think this would be a good spot for an arcade illustrating this?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to wait if we're showing performance stuff. We're about to release a new UX on all these dashboards.

Meta comment on that too - this surface is super hard to find in product right now, and the trace view doc is quite dated. I purposefully have not updated it because it's rolled into the insights > dashboards updates I'm doing. I'm wondering if we can direct link to the product page for now instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

Re-reading, I think it's possible you mean the waterfall view? If so, let's not link to that page. Let's just link to the traces page, perhaps this section: /concepts/key-terms/tracing/#traces-to-trace-view.

I'm realizing it all sucks. I'll see if we can give the traces docs a face lift soon.


Issue alerts notify you when specific conditions are met. To create one:

1. Go to **Alerts** and click "Create Alert Rule"
Copy link
Contributor

@coolguyzone coolguyzone Feb 17, 2026

Choose a reason for hiding this comment

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

Another good opportunity for an arcade or screenshot (doesn't need to be added in v1, but wanted to mark it for posterity.)

Copy link
Contributor

Choose a reason for hiding this comment

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

Love this and same problem as above - this UX is changing. We should wait.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍


When you catch an error, add tags, user info, and breadcrumbs to make debugging instant.

```javascript
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not seeing the 'addBreadCrumb' call here, is the breadcrumb being added by the contexts object?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it's a little confusing here. Going to de-emphasize breadcrumbs.

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

This looks great!


**Levels:** `fatal`, `error`, `warning`, `info`, `debug`

**Context:** Tags, user info, and breadcrumbs help you debug faster. Tags are searchable, so use them for high-cardinality data like IDs, regions, and feature flags.
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought we generally do not want to reference breadcrumbs? We should mention logs and replays instead, yeah?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated in 062fe31


High event counts mean either many users are affected or one user is stuck in a loop. Both need immediate attention.

**In Issues:** Search for `is:unresolved` (applied by default) and use the sort dropdown (defaults to "Last Seen") to sort by **Events**
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
**In Issues:** Search for `is:unresolved` (applied by default) and use the sort dropdown (defaults to "Last Seen") to sort by **Events**
**[In Issues](https://sentry.io/orgredirect/organizations/:orgslug/issues/):** Search for `is:unresolved` (applied by default) and use the sort dropdown (defaults to "Last Seen") to sort by **Events**

Copy link
Contributor

Choose a reason for hiding this comment

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

I realized these are all issue filters, so bumped the link up to the top. It still might be useful to add a link in each section where we say In Issues, though. What do you think?


## Where to Look

Start with these five views to catch critical issues.
Copy link
Contributor

@sfanahata sfanahata Feb 18, 2026

Choose a reason for hiding this comment

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

Suggested change
Start with these five views to catch critical issues.
Start by creating these five [Issue views](https://sentry.io/orgredirect/organizations/:orgslug/issues/) to catch the most critical problems.
**Save these views**: Turn these five searches into saved Issues views by clicking **Save As** after setting each filter.

I'm thinking if we feel like these are really valuable, we should suggest people save them to use them over and over again.

**In Issues:** Filter by `is:unresolved` and sort by **Age** to find issues that first appeared recently (not just issues that happened recently). Filter by release: `release:v1.2.3`

**What to look for:**
- Issues that didn't exist in the previous release
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there an easy way to recommend doing that comp? Or is it more common for folks to know whether or not it already existed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call out. And TIL about firstRelease which shows issues that first appeared in that release. Will make this edit so this section is legit.

- Patterns in feedback about specific workflows or features
- Issues that frustrate users even if they don't generate many events

Enable the [User Feedback Widget](/platforms/javascript/user-feedback/) to let users report problems directly when errors happen.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd move this up to just under the explainer of this section so folks know they need to do this first.


**Alert idea:** Trigger when a new issue is created, filtered to issue category equals feedback. This ensures you respond quickly when users report problems.

## Creating Issue Alerts
Copy link
Contributor

@sfanahata sfanahata Feb 18, 2026

Choose a reason for hiding this comment

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

Yes to all this. Just know that this UX is changing, with Monitors and Alerts in LA.


### Capture Context, Not Just Exceptions

When you catch an error, add tags, user info, and breadcrumbs to make debugging instant.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want to de-emphasize breadcrumbs, and emphasize replays and logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated in 6a454d6fb


Your Sentry SDK is sending errors to [Sentry Issues](/product/issues/) out of the box. Now what? This guide covers the high-value error patterns that help you catch problems before they impact users and fix issues faster.

## The Pattern
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not clear on exactly what you're trying to tell me in this section - that every issue will have a pattern that can be tracked down? Or that every issue's anatomy has a pattern?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

More the latter. Most of the other pages have this at the top to set the stage with the anatomy of the feature.

jaffrepaul and others added 3 commits February 17, 2026 23:14
Co-authored-by: Alex Krawiec <alex.krawiec@sentry.io>
Co-authored-by: Shannon Anahata <shannon.anahata@gmail.com>
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