You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix misplaced content in GitLab docs
Part of the bullet list that should go under the "Stack Trace Linking" heading is instead under the "Code owners" heading (showing up as a txt code block), and this last heading is also repeating twice.
In this changeset I fixed the aforementioned problems, and made some minor changes to the text to avoid repetition.
Cheers!
* Update src/docs/product/integrations/source-code-mgmt/gitlab/index.mdx
---------
Co-authored-by: Shana Matthews <shana.l.matthews@gmail.com>
Copy file name to clipboardExpand all lines: src/docs/product/integrations/source-code-mgmt/gitlab/index.mdx
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -136,8 +136,10 @@ Stack trace linking takes you from a file in your Sentry stack trace to that sam
136
136
-**repo** (required): This is the GitLab project associated with the Sentry project above. If you have more than one GitLab project being used per Sentry project, you'll need multiple code mappings.
137
137
-**branch** (required): This is the default branch of your code we fall back to if you do not have commit tracking set up.
138
138
-**stack trace root** and **source code root** (optional):
139
-
140
-
1. If the file path in your Sentry stack trace frame matches the path to your source code, you do not need to set these values.
139
+
- If the file path in your Sentry stack trace frame matches the path to your source code, you don't need to set these values.
140
+
- For example, if everything after the branch (`main`) matches the file path of `code.py` using a source code path of `https://gitlab.com/murdith-group/issa-project/-/blob/main/code.py`, you don't need to set either `stack trace root` or `source code root`
141
+
- If the file path in your Sentry stack trace frame doesn't match the path to your source code, you will need to replace the `stack_root` part of the file path with your `source_root` to make the file path match the source code path.
142
+
- For example, to get `src/code.py` to match `code.py` when the source code path is `https://gitlab.com/murdith-group/issa-project/-/blob/main/code.py`, change the `stack trace root` to be set as `src/`, and leave `source code root` empty.
141
143
142
144
### Suspect Commits
143
145
@@ -147,13 +149,6 @@ Once you've set up stack trace linking, Sentry can use information from your sou
147
149
148
150
Learn about setting up this functionality in [Suspect Commits](/product/issues/suspect-commits/).
149
151
150
-
### Code Owners
151
-
152
-
- ex. For example, everything after the branch (`main`) matches the file path of `code.py` using a source code path of `https://gitlab.com/murdith-group/issa-project/-/blob/main/code.py` so you don't need to set a **stack trace root** and **source code root**.
153
-
154
-
1. If the file path in your Sentry stack trace frame doesn't match the path to your source code, you will need to replace the **stack_root** part of the file path with your **source_root** to make the file path match the source code path.
155
-
- ex. For example, to get `src/code.py` to match `code.py` when the source code path is `https://gitlab.com/murdith-group/issa-project/-/blob/main/code.py`, change the **stack trace root** to be set as `src/`, and leave **source code root** empty.
0 commit comments