Sentry Copilot Extension is in limited public beta and organizations will require an invitation to start using this feature. To get onto our waitlist, please write in to support@sentry.io with "Sentry Copilot Extension Waitlist" in the subject line along with Sentry org slug.
What is the Sentry Copilot Extension?
The Sentry Copilot Extension is an LLM-powered chat agent that enables GitHub users to interact with Sentry directly from a chat window in the GitHub UI. It allows users to access Sentry issues, get context on broken code, and fix issues using an intuitive chat interface.
What does the Sentry Copilot Extension do?
The Sentry Copilot Extension is designed to be a powerful tool for developers actively triaging Sentry issues. With just a few chat messages, developers can retrieve all the relevant data they and Copilot need to resolve problems in their code.
Here’s a non-exhaustive list of tasks and prompts supported by the Sentry Copilot Extension:
- Tell users about what it can do (!)
- “What can you do?”
- Show developers their Sentry issues
- “Show me my most recent issues”
- Get specific context on Sentry issues
- “Show me more information about the 3rd issue on that list”
- “Show me more information about issue”
- Summarize transactions relevant to an issue
- “Show me the relevant transactions for this issue”
- Create and assign a GitHub issue from a Sentry issue
- “Make a GitHub issue for this, and assign it to Alice”
- Resolve a Sentry issue
- “Resolve this issue”
How does the Sentry Copilot Extension improve my workflow?
The extension allows developers to stay within their preferred GitHub environment, reducing the need to switch between different tools and interfaces. This helps streamline the process of finding and fixing broken code, enhancing productivity and efficiency.
How can I access the Sentry Copilot Extension?
At this time, this feature is in limited public beta and organizations will require an invitation to start using this feature. To get onto our waitlist, sign up here or write in to support@sentry.io with "Sentry Copilot Extension Waitlist" in the subject line along with your Sentry org slug.
How can I enable the Sentry Copilot Extension?
- In Sentry
- Ensure you have enabled generative AI for your org in Settings -> Legal and Compliance -> “Use of identifying data for generative AI features”
- On GitHub
- Sign up for GitHub Copilot
- Add the Sentry for GitHub Copilot extension from the GitHub marketplace:
- Choose which GitHub org you want to install the app and click “Install for free”.
- On the Edit your plan page, click “grant this app access” to select which repositories to give this extension access to.
- Choose All repositories or Only select repositories, then click “Install & Authorize”
- You will be redirected to Sentry. If you want to verify your configurations in GitHub at any point you can head to https://github.com/settings/installations and you should see the Sentry installed app:
- And authorized app:
- In VSCode
- Install the GitHub Copilot Chat extension from the VS Code marketplace
- Sign in to GitHub from inside of VS Code by clicking on the profile icon
- Confirm sign in through the browser window that pops up
- Confirm you are signed in to GitHub Copilot Chat
- Open the GitHub Copilot Chat and type:
@sentry can you help me?
- The extension will ask you to choose a Sentry org if you have more than one, do so, by typing:
@sentry org_name
- Ask Sentry to summarize a specific issue within that Sentry org by typing:
@sentry can you tell me about this issue? https://issue-url
Troubleshooting
If you’re having trouble with getting the extension to work and you have already verified that your Sentry settings are correct, you might try:
- Updating VS Code
- Logging out and back into GitHub in VS Code
- Restarting VS Code
- Uninstalling the extension in GitHub:
- Under your Installed GitHub Apps, click Configure on the Sentry app
- Scroll to the bottom and click “Uninstall”
- Under your Authorized GitHub Apps, click Revoke on the Sentry app
- MAKE SURE YOU DON’T REVOKE THE sentry.io APP