Skip to content

Commit 390782f

Browse files
sfanahataShannon Anahata
authored andcommitted
Adding sentry prevent AI docs (#13884)
## DESCRIBE YOUR PR For the Sentry Prevent AI beta releasing in June ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [ ] 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](https://github.com/orgs/getsentry/teams/docs) --------- Co-authored-by: Shannon Anahata <[email protected]>
1 parent 1944285 commit 390782f

File tree

6 files changed

+60
-5
lines changed

6 files changed

+60
-5
lines changed

docs/product/ai-in-sentry/ai-privacy-and-security/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: AI Privacy and Security
3-
sidebar_order: 30
3+
sidebar_order: 40
44
description: "Learn about how AI features in Sentry handle your data securely and protect your privacy."
55
---
66

docs/product/ai-in-sentry/index.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@ Seer is Sentry's AI debugging agent that helps resolve errors and performance is
1515
- **[Issue Fix](/product/ai-in-sentry/seer/issue-fix/)**: Automated root cause analysis and suggested code fixes, for errors and performance issues.
1616
- **Issue Scan**: Scans issues as they are ingested in Sentry to determine an actionability score and run Seer's issue fix on them automatically.
1717

18-
## Issue Summary
18+
### Issue Summary
1919

2020
**Issue summary** provides a quick overview of an issue by highlighting key insights taken from event and issue-level metadata. You'll see a quick overview of what's going wrong, a potential cause, and if relevant, insights from trace-connected issues.
2121

22+
### [Sentry Prevent AI](/product/ai-in-sentry/sentry-prevent-ai/)
23+
24+
Sentry Prevent AI is a generative AI assistant developed by Sentry, available in GitHub. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests.
25+
2226
## Privacy and security
2327

2428
Sentry includes strong guarantees for privacy and security of your data. At a glance:
2529

2630
- Sentry does not train generative AI models using your data by default and without your permission.
2731
- AI-generated output is shown only to you and other authorized users in your account.
2832

29-
You can learn more about our data privacy practices [in the security and legal docs](/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features).
33+
You can get more details at [AI Privacy and Security](/product/ai-in-sentry/ai-privacy-and-security/). To learn more about all our data privacy practices go to [the security and legal docs](/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features).
3034

3135
## Disabling Generative AI Features
3236

docs/product/ai-in-sentry/seer/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Seer
33
description: "Learn about Seer, Sentry's AI agent, and managing generative AI features."
4-
sidebar_order: 21
4+
sidebar_order: 20
55
---
66

77
Seer is Sentry's AI debugging agent. It uses Sentry's rich context (issue details, tracing data, logs, and profiles) to help you troubleshoot and fix errors and performance issues faster.
Loading
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Sentry Prevent AI
3+
sidebar_order: 30
4+
description: "Get code reviews and new tests for better code and coverage using Sentry Prevent AI."
5+
---
6+
7+
Sentry Prevent AI is a generative AI assistant developed by Sentry. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests.
8+
9+
<Alert>
10+
Sentry Prevent AI is currently in <strong>beta</strong>. Beta features are still a work in progress and may have bugs. Please join the [Discord conversation](https://discord.com/channels/621778831602221064/1385700674557444190) to share your feedback.
11+
</Alert>
12+
13+
## Getting Started
14+
15+
To enable Sentry Prevent AI in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry app](https://github.com/apps/seer-by-sentry). This allows the assistant to analyze pull requests, provide insights, and write tests.
16+
17+
If you're not an admin, copy the Sentry Prevent AI GitHub App Integration link and share it with your organization's admin or owner to install it.
18+
19+
## Sentry Prevent AI Commands
20+
21+
After installing the app, use these commands in your pull request comments:
22+
23+
- `@sentry review` - The assistant will review the PR and make suggestions.
24+
25+
- `@sentry generate-test` - The assistant will generate tests for your PR.
26+
27+
Once you have added a comment, the assistant will reply, acknowledging the request. For code reviews, you will then see comments added to your PR. For test generation, you will see a comment with a link to the generated tests.
28+
29+
![Sentry Prevent AI Overview](./img/sentry-prevent-review.png)
30+
31+
## Frequently Asked Questions
32+
33+
**What data does Sentry Prevent need access to for the AI system to function, and what information is sent to third-party AI providers?**
34+
35+
Sentry Prevent requires access to your pull requests, including PR metadata, repository information, file names, directory structures, and code diffs. The file names, code diffs, and PR descriptions are sent to the AI provider for analysis.
36+
37+
**Does Sentry Prevent run anywhere outside of GitHub, and does it run in the background?**
38+
39+
Sentry Prevent AI only runs on GitHub, and only runs when triggered by a comment.
40+
41+
The [Show Generative AI Features toggle](https://sentry.io/orgredirect/organizations/:orgslug/settings/#hideAiFeatures) does not currently apply to Sentry Prevent AI. if you don't want Sentry Prevent AI used on your projects, you can uninstall the [Seer app](https://github.com/apps/seer-by-sentry) at any time.
42+
43+
You can learn more about AI privacy and security [here](/product/ai-in-sentry/ai-privacy-and-security/).
44+
45+
## Feedback & Support
46+
47+
Have feedback? Drop us a line on GitHub Issues or contact Sentry support.
48+
49+
---
50+
51+
For more information, see the [Sentry Prevent documentation](https://docs.sentry.io/).

docs/product/sentry-toolbar/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Sentry Toolbar
3-
sidebar_order: 120
3+
sidebar_order: 110
44
description: "Bring critical Sentry insights and tools directly into your web app for easier troubleshooting with the Sentry Toolbar."
55
---
66

0 commit comments

Comments
 (0)