Skip to content

Commit e1e7194

Browse files
coolguyzoneItalyPaleAleAlex Krawiec
authored
Seer product updates (#13953)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR *Tell us what you're changing and why. If your PR **resolves an issue**, please link it so it closes automatically.* ## 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) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> 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 - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/) --------- Co-authored-by: ItalyPaleAle <[email protected]> Co-authored-by: Alex Krawiec <[email protected]>
1 parent 26d7789 commit e1e7194

File tree

13 files changed

+182
-75
lines changed

13 files changed

+182
-75
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"**/src/wizard/**": true
1515
},
1616
"cSpell.words": [
17-
"laravel"
17+
"laravel",
18+
"subprocessor",
19+
"subprocessors"
1820
]
1921
}

develop-docs/self-hosted/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The difference only resides on a few things that are impossible to be hosted by
1717
- Pricing tiers & Billing system.
1818
- [Spike protection](https://docs.sentry.io/pricing/quotas/spike-protection/), as it is tightly coupled with Billing Quotas.
1919
- [Spend Allocation](https://docs.sentry.io/pricing/quotas/spend-allocation/), as it is tightly coupled with Billing Quotas.
20-
- AI & ML features (such as autofix), although the code is open at [getsentry/seer](https://github.com/getsentry/seer).
20+
- Seer and other AI & ML features, although the code is open at [getsentry/seer](https://github.com/getsentry/seer).
2121
- [Data Storage Location](https://docs.sentry.io/organization/data-storage-location/), because you own your data.
2222
- [iOS Symbolication](https://docs.sentry.io/platforms/apple/data-management/debug-files/symbol-servers#built-in-repositories), because Apple does not provide a public symbol server, nor do they allow us to distribute the Debug Information Files (DIFs) ourselves.
2323

docs/contributing/environment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You will now be able to access docs via http://localhost:3000.
4343

4444
A few linters are available. Run `yarn lint` to apply them all.
4545

46-
Some lints can be autofixed with eslint
46+
Some lints can be auto-fixed with eslint
4747

4848
```bash
4949
yarn lint:eslint:fix

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: AI in Sentry
3+
sidebar_order: 25
4+
description: "Learn about Sentry's AI-powered features that help you analyze and debug your code faster."
5+
---
6+
7+
Sentry leverages artificial intelligence (AI) and machine learning (ML) to enhance your debugging and monitoring experience. Our AI-powered features help you understand issues faster, get automated fixes, and gain deeper insights into your application's behavior.
8+
9+
## AI-Powered Features
10+
11+
### [Seer](/product/ai-in-sentry/seer/)
12+
13+
Seer is Sentry's AI debugging agent that helps resolve errors and performance issues in your applications. Seer combines issue detection, analysis, and automated fixing capabilities to streamline your debugging workflow.
14+
15+
- **[Issue Fix](/product/ai-in-sentry/seer/issue-fix/)**: Automated root cause analysis and suggested code fixes.
16+
- **Issue Scan**: Scans issues as they are ingested in Sentry to determine an actionability score and run Seer's Issue Fix on them automatically.
17+
- **[Privacy & Security](/product/ai-in-sentry/seer/seer-privacy-security/)**: Understanding how Seer handles your data securely.
18+
19+
## Issue Summary
20+
21+
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.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: Seer
3+
description: "Learn about Seer, Sentry's AI agent, and managing generative AI features."
4+
sidebar_order: 21
5+
---
6+
7+
Seer is Sentry's AI debugging agent that powers a set of features built on generative AI and ML that uses Sentry's rich context (issue details, tracing data, logs, and profiles) to help you troubleshoot and fix errors and performance issues faster.
8+
9+
## Seer Capabilities
10+
11+
Seer provides two main capabilities to enhance your debugging:
12+
13+
- [**Issue Fix**](#issue-fix): A collaborative workflow to find the root cause and solution of issues
14+
- **Issue Scan**: Intelligently analyzes your issues and provides actionability scores to help you prioritize what to work on.
15+
16+
### Issue Fix
17+
18+
Issue Fix uses AI to find the root cause of your issues and suggest solutions. WIth Issue Fix, you can:
19+
20+
- Get automated root cause analysis using Sentry's context and your codebase
21+
- Receive AI-generated code fixes and unit tests
22+
- Collaborate with Seer throughout the debugging process
23+
- Create pull requests directly from the Seer Interface
24+
- Benefit from Github integration for seamless code changes
25+
26+
Learn more about [Issue Fix](./issue-fix/).
27+
28+
### Issue Scan
29+
30+
Issue Scan intelligently analyzes your issues and helps you prioritize what to work on. With Issue Scan, you can:
31+
32+
- Filter issues by their latest scan results
33+
- View actionability scores that indicate how likely an issue is to be resolvable
34+
- Se Seer labels in the issue stream for quick identification
35+
- Get insights into which issues need immediate attention
36+
- Enable Seer's Issue Fix to be started automatically once an issue is ingested in Sentry
37+
38+
## How Seer Works
39+
40+
Seer leverages multiple data sources to provide accurate analysis and solutions:
41+
42+
- **Issue Context**: Error messages, stack traces, and event metadata from your [Issues](/product/issues/)
43+
- **Tracing Data**: Distributed [traces](/concepts/key-terms/tracing/#whats-a-trace) and span information
44+
- **Your Codebase**: Relevant code from linked GitHub repositories and [logs](/product/explore/logs/)
45+
- **Performance Data**: Profiles and performance metrics
46+
- **Interactive Feedback**: Your input and guidance during the process
47+
48+
## Getting Started with Seer
49+
50+
To start using Seer's capabilities:
51+
52+
1. **Enable Seer**: Make sure AI features are enabled in your [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/#hideAiFeatures)
53+
2. **Set up GitHub Integration**: For Issue Fix capabilities, [connect your GitHub repositories](/organization/integrations/source-code-mgmt/github/)
54+
3. **Configure Settings**: Customize Seer's behavior in your project settings
55+
4. **Start Using**: Look for Seer options in your issue details pages
56+
57+
## Data Processing for Generative AI
58+
59+
We use the data listed below to provide insights, analysis, and solutions for your review. Your data will not be used to train any generative AI models without your express consent and AI-generated output from your data is shown only to you, not other customers. Our generative AI features are powered by generative AI models hosted by subprocessors identified on our [subprocessor list](https://sentry.io/legal/subprocessors/). Our subprocessors are only permitted to use the data as directed by us.
60+
61+
The data used for these features includes:
62+
63+
- Error messages
64+
- Stack traces
65+
- Sentry spans
66+
- DOM interactions
67+
- Logs
68+
- Profiles
69+
- Relevant code from linked repositories
70+
71+
You can learn more about our data privacy practices [here](/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features).
72+
73+
## Disabling Generative AI Features
74+
75+
If you don't find Seer useful and want to disable it for all users, you can do so in your organization's settings with the ["Show Generative AI Features" toggle](https://sentry.io/orgredirect/organizations/:orgslug/settings/#hideAiFeatures).
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Issue Fix
3+
description: "Use Seer's Issue Fix to automatically find the root cause of issues and generate code fixes."
4+
sidebar_order: 20
5+
---
6+
7+
**Issue Fix** is Seer's collaborative workflow to find the root cause of and solution to issues. It uses Sentry's context (issue details, tracing data, logs, and profiles), your codebases (integrated through GitHub), and its interactions with you to identify and reason through problems in your code.
8+
9+
<Alert>
10+
Issue Fix replace Suggested Fix (an earlier feature that has been sunset) and builds upon the capabilities previously known as Autofix.
11+
</Alert>
12+
13+
## How Issue Fix Works
14+
15+
When you start an Issue Fix run, you'll see the following screen, with an option to share any additional context:
16+
17+
{/* IMG */}
18+
19+
Issue Fix will then analyze the issue and relevant code to help identify the root cause and a solution. You'll see a live stream of Seer's thought process in real time as it works through the problem. Seer will share key insights as they come up and you'll have the option to expand each. You'll see the event data and code that support Seer's conclusions, building a clear chain of reasoning back to the root cause.
20+
21+
While Issue Fix is reasoning through your problem, you can step in to add context or feedback; collaboration tends to lead to the best results. If Issue Fix encounters gaps in its understanding, it will ask for your input.
22+
23+
The output will be a clearly defined root cause of the Sentry issue, and a detailed solution for how to resolve it:
24+
25+
{/* IMG */}
26+
27+
You are free to edit or adjust this solution based on your own requirements and preferences. Once you are ready to proceed, you can select "Code It Up" to generate code resolving the bug. From there you'll have three options:
28+
29+
- Write a fix
30+
- Write a unit test reproducing the issue
31+
- Write both
32+
33+
{/* IMG */}
34+
35+
Once the coding step is complete, you can either create a Pull Request (PR) in GitHub directly from Seer, or create a branch and checkout the code locally if you would like to iterate further.
36+
37+
## Prerequisites
38+
39+
To use Issue Fix, you'll need to have the following:
40+
41+
1. A Sentry project with issues that have sufficient context (issue details, tracing data, logs, and profiles).
42+
43+
2. GitHub integration set up in your Sentry project. This allows Seer to access your codebase and generate code fixes. See the [Sentry GitHub integration](/organization/integrations/source-code-mgmt/github/) to learn more.
44+
45+
3. Working knowledge of the issue you want to fix. Seer will help you identify the root cause and suggest a solution, but you should have a general understanding of the problem you're trying to solve.
46+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Seer Privacy and Security
3+
sidebar_order: 30
4+
description: "Learn about how Seer handles your data securely and protects your privacy."
5+
---
6+
7+
Seer is designed with your privacy and security in mind. We take the following measures to ensure that your data is handled securely:
8+
9+
## Data Processing for Seer
10+
11+
We use the data listed below to provide insights, analysis, and solutions for your review. Your data will not be used to train any generative AI models without your express consent and AI-generated output from your data is shown only to you, not other customers. Our generative AI features are powered by generative AI models hosted by subprocessors identified on our [subprocessor list](https://sentry.io/legal/subprocessors/). Our subprocessors are only permitted to use the data as directed by us.
12+
13+
The data used for these features includes:
14+
- Error messages
15+
- Stack traces
16+
- Sentry spans
17+
- DOM interactions
18+
- Profiles
19+
- Relevant code from linked repositories
20+
21+
You can learn more about our data privacy practices [here](/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features).
22+
23+
## Privacy Guarantees
24+
25+
### No Training on Your Data
26+
27+
Your data will **not** be used to train any generative AI models without your express consent and AI-generated output from your data is shown only to you, not other customers.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/product/issues/issue-details/sentry-seer/index.mdx

Lines changed: 0 additions & 70 deletions
This file was deleted.

docs/product/sentry-mcp/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The [Sentry MCP Server](https://mcp.sentry.dev) provides a secure way of bringin
1717
- Search for errors in specific files
1818
- Query projects and organizations
1919
- List and create Sentry DSN's for projects
20-
- Execute autofix runs and retrieve autofix status and details
20+
- Invoke Seer to automatically fix issues and retrieve the status and details of an issue fix
2121

2222
<VimeoEmbed id="1080588938?h=1e437d4874" />
2323

@@ -53,10 +53,12 @@ Once configured via one of these methods, you'll be able to view the available t
5353
- Check Sentry for errors in `file.tsx` and propose solutions.
5454
- Diagnose issue `issue id` and propose solutions.
5555
- Create a new project in Sentry for `service-name` and setup local instrumentation using it.
56-
- Use Sentry's autofix feature, and help me analyze and propose a solution for `issue id`.
56+
- Use Sentry's Seer and help me analyze and propose a solution for `issue id`.
5757

5858
![Sentry MCP using Autofix](./img/mcp-autofix1.png)
5959

60+
TODO: Image needs to be updated
61+
6062
## Verified Clients
6163

6264
The Sentry MCP Server has been verified to work in:

redirects.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,10 @@ const userDocsRedirects = [
11781178
source: '/organization/integrations/expo/',
11791179
destination: '/organization/integrations/deployment/expo/',
11801180
},
1181+
{
1182+
source: '/product/issues/issue-details/sentry-seer/',
1183+
destination: '/product/ai-in-sentry/seer/',
1184+
},
11811185
];
11821186

11831187
/**

0 commit comments

Comments
 (0)