Skip to content

Commit c7d83a9

Browse files
Merge branch 'master' into cursor/add-logs-beta-checkbox-for-sdks-73b7
2 parents 25ff72a + af4f425 commit c7d83a9

File tree

22 files changed

+354
-112
lines changed

22 files changed

+354
-112
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/development-infrastructure/testing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,10 @@ See the [Frontend Handbook](/frontend/#testing) for more Jest testing tips.
363363

364364
```shell
365365
# Run jest in interactive mode
366-
yarn test
366+
pnpm test
367367

368368
# Run a single test
369-
yarn test tests/js/spec/views/issueList/overview.spec.js
369+
pnpm test tests/js/spec/views/issueList/overview.spec.js
370370
```
371371

372372
### API Fixtures

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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Seer is Sentry's AI debugging agent that helps resolve errors and performance is
1414

1515
- **[Issue Fix](/product/ai-in-sentry/seer/issue-fix/)**: Automated root cause analysis and suggested code fixes.
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.
17+
1718
- **[Privacy & Security](/product/ai-in-sentry/seer/seer-privacy-security/)**: Understanding how Seer handles your data securely.
1819

1920
## Issue Summary
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.

docs/product/explore/logs/getting-started/index.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ We're actively working on adding Log functionality to additional SDKs. Check out
241241
label="Elixir"
242242
url="https://github.com/getsentry/sentry-elixir/issues/886"
243243
/>
244+
- <LinkWithPlatformIcon
245+
platform="php.laravel"
246+
label="Laravel"
247+
url="https://github.com/getsentry/sentry-laravel/issues/999"
248+
/>
244249
- <LinkWithPlatformIcon
245250
platform="react-native"
246251
label="React Native"
@@ -251,6 +256,11 @@ We're actively working on adding Log functionality to additional SDKs. Check out
251256
label=".NET"
252257
url="https://github.com/getsentry/sentry-dotnet/issues/4132"
253258
/>
259+
- <LinkWithPlatformIcon
260+
platform="php.symfony"
261+
label="Symfony"
262+
url="https://github.com/getsentry/sentry-symfony/issues/925"
263+
/>
254264
- <LinkWithPlatformIcon
255265
platform="unity"
256266
label="Unity"

docs/product/insights/ai/llm-monitoring/getting-started/index.mdx

Lines changed: 136 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,154 @@ sidebar_order: 0
44
description: "Learn how to set up Sentry LLM Monitoring"
55
---
66

7-
<Alert>
8-
9-
This feature is currently only available in the Python SDK.
10-
11-
</Alert>
12-
13-
Sentry LLM Monitoring is easiest to use with the Python SDK and an official integration like OpenAI.
7+
Sentry LLM Monitoring helps you track and debug AI-powered applications using our supported SDKs and integrations.
148

159
![LLM Monitoring User Interface](../img/pipelines-view.png)
1610

17-
1811
To start sending LLM data to Sentry, make sure you've created a Sentry project for your AI-enabled repository and follow one of the guides below:
1912

20-
## Official AI Integrations
21-
22-
- [OpenAI](/platforms/python/integrations/openai/)
23-
- [Langchain](/platforms/python/integrations/langchain/)
24-
- [Anthropic](/platforms/python/integrations/anthropic/)
25-
- [Huggingface Hub](/platforms/python/integrations/huggingface_hub/)
26-
- [Cohere](/platforms/python/integrations/cohere/)
13+
## Supported SDKs
14+
15+
### Python
16+
17+
The Sentry Python SDK supports LLM monitoring with integrations for OpenAI, Langchain, Anthropic, Huggingface, and Cohere
18+
19+
#### Official AI Integrations
20+
21+
- <LinkWithPlatformIcon
22+
platform="openai"
23+
label="OpenAI"
24+
url="/platforms/python/integrations/openai/"
25+
/>
26+
- <LinkWithPlatformIcon
27+
platform="langchain"
28+
label="Langchain"
29+
url="/platforms/python/integrations/langchain/"
30+
/>
31+
- <LinkWithPlatformIcon
32+
platform="anthropic"
33+
label="Anthropic"
34+
url="/platforms/python/integrations/anthropic/"
35+
/>
36+
- <LinkWithPlatformIcon
37+
platform="huggingface"
38+
label="Huggingface Hub"
39+
url="/platforms/python/integrations/huggingface_hub/"
40+
/>
41+
- <LinkWithPlatformIcon
42+
platform="python"
43+
label="Cohere"
44+
url="/platforms/python/integrations/cohere/"
45+
/>
46+
47+
### JavaScript
48+
49+
The JavaScript SDK supports LLM monitoring through the Vercel AI integration for Node.js and Bun runtimes.
50+
51+
#### Supported Platforms
52+
53+
- <LinkWithPlatformIcon
54+
platform="javascript.node"
55+
label="Node.js"
56+
url="/platforms/javascript/guides/node/configuration/integrations/vercelai/"
57+
/>
58+
- <LinkWithPlatformIcon
59+
platform="javascript.nextjs"
60+
label="Next.js"
61+
url="/platforms/javascript/guides/nextjs/configuration/integrations/vercelai/"
62+
/>
63+
- <LinkWithPlatformIcon
64+
platform="javascript.sveltekit"
65+
label="SvelteKit"
66+
url="/platforms/javascript/guides/sveltekit/configuration/integrations/vercelai/"
67+
/>
68+
- <LinkWithPlatformIcon
69+
platform="javascript.nuxt"
70+
label="Nuxt"
71+
url="/platforms/javascript/guides/nuxt/configuration/integrations/vercelai/"
72+
/>
73+
- <LinkWithPlatformIcon
74+
platform="javascript.astro"
75+
label="Astro"
76+
url="/platforms/javascript/guides/astro/configuration/integrations/vercelai/"
77+
/>
78+
- <LinkWithPlatformIcon
79+
platform="javascript.remix"
80+
label="Remix"
81+
url="/platforms/javascript/guides/remix/configuration/integrations/vercelai/"
82+
/>
83+
- <LinkWithPlatformIcon
84+
platform="javascript.solidstart"
85+
label="SolidStart"
86+
url="/platforms/javascript/guides/solidstart/configuration/integrations/vercelai/"
87+
/>
88+
- <LinkWithPlatformIcon
89+
platform="javascript.express"
90+
label="Express"
91+
url="/platforms/javascript/guides/express/configuration/integrations/vercelai/"
92+
/>
93+
- <LinkWithPlatformIcon
94+
platform="javascript.fastify"
95+
label="Fastify"
96+
url="/platforms/javascript/guides/fastify/configuration/integrations/vercelai/"
97+
/>
98+
- <LinkWithPlatformIcon
99+
platform="javascript.nestjs"
100+
label="Nest.js"
101+
url="/platforms/javascript/guides/nestjs/configuration/integrations/vercelai/"
102+
/>
103+
- <LinkWithPlatformIcon
104+
platform="javascript.hapi"
105+
label="Hapi"
106+
url="/platforms/javascript/guides/hapi/configuration/integrations/vercelai/"
107+
/>
108+
- <LinkWithPlatformIcon
109+
platform="javascript.koa"
110+
label="Koa"
111+
url="/platforms/javascript/guides/koa/configuration/integrations/vercelai/"
112+
/>
113+
- <LinkWithPlatformIcon
114+
platform="javascript.connect"
115+
label="Connect"
116+
url="/platforms/javascript/guides/connect/configuration/integrations/vercelai/"
117+
/>
118+
- <LinkWithPlatformIcon
119+
platform="javascript.hono"
120+
label="Hono"
121+
url="/platforms/javascript/guides/hono/configuration/integrations/vercelai/"
122+
/>
123+
- <LinkWithPlatformIcon
124+
platform="javascript.bun"
125+
label="Bun"
126+
url="/platforms/javascript/guides/bun/configuration/integrations/vercelai/"
127+
/>
128+
- <LinkWithPlatformIcon
129+
platform="javascript.aws-lambda"
130+
label="AWS Lambda"
131+
url="/platforms/javascript/guides/aws-lambda/configuration/integrations/vercelai/"
132+
/>
133+
- <LinkWithPlatformIcon
134+
platform="javascript.azure-functions"
135+
label="Azure Functions"
136+
url="/platforms/javascript/guides/azure-functions/configuration/integrations/vercelai/"
137+
/>
138+
- <LinkWithPlatformIcon
139+
platform="javascript.gcp-functions"
140+
label="Google Cloud Functions"
141+
url="/platforms/javascript/guides/gcp-functions/configuration/integrations/vercelai/"
142+
/>
143+
- <LinkWithPlatformIcon
144+
platform="javascript.electron"
145+
label="Electron"
146+
url="/platforms/javascript/guides/electron/configuration/integrations/vercelai/"
147+
/>
27148

28149
<Alert title="Don't see your platform?">
29150

30151
We'll be adding AI integrations continuously. You can also instrument AI manually with the Sentry Python SDK.
31152

32153
</Alert>
33154

34-
35155
## Pipelines and LLMs
36156

37157
The Sentry LLM Monitoring feature relies on the fact that you have an orchestrator (like LangChain) creating pipelines of one or more LLMs (such as gpt-4). In the LLM Monitoring dashboard, we show you a table of the AI pipelines and pull the token usage from your LLMs.

0 commit comments

Comments
 (0)