Skip to content

Commit 1424180

Browse files
coolguyzoneAlex Krawiec
and
Alex Krawiec
authored
Add SEO recommendations to suspect commits page (#12531)
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 1f15086 commit 1424180

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/product/issues/suspect-commits/index.mdx

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Suspect Commits
33
sidebar_order: 32
4-
description: "Learn how to enable suspect commits, which will help you find the root cause of issues faster."
4+
description: "With suspect commits, you can see the most recent commit to your code in the stack tract. Learn more about how integrations enable suspect commits here."
55
---
66

77
<Include name="only-error-issues-note.mdx" />
88

9-
Suspect commits show you the most recent commit to the code in your stack trace. In the suspect commit information, we include the author of the commit and the pull request in which the commit was made.
9+
Suspect commits show you the most recent commit to the code in your [stack trace](https://sentry.io/features/stacktrace/). In the suspect commit information, we include the author of the commit and the pull request in which the commit was made.
1010

1111
When you've enabled suspect commits, we can tie together issues with the commits made in your code repository, including the following information:
1212

@@ -20,7 +20,7 @@ Suspect commits and suggested assignees are then displayed on the **Issue Detail
2020

2121
## Enable Suspect Commits
2222

23-
In order to see suspect commits, you have to first upload source maps, (or your platform-specific files for mapping transformed source code to the original source). Check out the docs for your [specific platform](/platforms/)) to learn more. Be aware that Sentry will not display suspect commits for issues that were created prior to your integration being set up.
23+
In order to see suspect commits, you have to first upload source maps, (or your platform-specific files for mapping transformed source code to the original source). Check out the docs for your [specific platform](/platforms/)) to learn more. Be aware that Sentry will not display suspect commits for issues that were created before your integration was set up.
2424

2525
### Connect a Repository Using Integrations
2626

@@ -61,11 +61,11 @@ Sentry will automatically try to set up code mappings on C#, Go, JavaScript, Nod
6161

6262
<Alert>
6363

64-
The following information is only valid for platforms which use traditional file paths. Platforms with package names require additional steps. For **Java**, read more in the [page on source context](/platforms/java/source-context#setting-up-code-mappings).
64+
The following information is only valid for platforms that use traditional file paths. Platforms with package names require additional steps. For **Java**, read more on the [page on source context](/platforms/java/source-context#setting-up-code-mappings).
6565

6666
</Alert>
6767

68-
First, navigate to a stack trace that you wish to map. Find an **In App** frame, which is denoted by a bubble on the right side of the frame. The filename will be shown as the first piece of text at the left hand side of the frame header. In this example, it is `src/main.py`.
68+
First, navigate to a stack trace that you wish to map. Find an **In App** frame, which is denoted by a bubble on the right side of the frame. The filename will be shown as the first piece of text at the left-hand side of the frame header. In this example, it is `src/main.py`.
6969

7070
<Include name="common-imgs/code-mappings-stacktrace" />
7171

@@ -97,7 +97,7 @@ Follow along with the interactive demo below to see how to integrate your GitHub
9797

9898
## How It Works
9999

100-
When you have a GitHub/GitLab integration and valid code mappings, Sentry will look at the stack trace of an issue and collect all in-app frames. For each in-app frame, Sentry checks the blame info for the exact file and line number. If the most recent commit is less than 1 year old, we consider it a suspect commit.
100+
When you have a GitHub/GitLab integration and valid [code mappings](https://blog.sentry.io/code-mappings-and-why-they-matter/), Sentry will look at the stack trace of an issue and collect all in-app frames. For each in-app frame, Sentry checks the blame info for the exact file and line number. If the most recent commit is less than 1 year old, we consider it a suspect commit.
101101

102102
## Suspect Commits Without Integrations
103103

@@ -117,7 +117,7 @@ There are a few reasons why an issue might not have suspect commits:
117117
- The stack trace doesn't have any in-app frames that match the code mappings.
118118
- The stack trace doesn't have any in-app frames with recent commits (less than 1 year old).
119119
- The code mappings for the project are incorrect.
120-
- The issue was created prior to the integration being set up.
120+
- The issue was created before the integration was set up.
121121

122122

123123
## Where It's Applied

0 commit comments

Comments
 (0)