Error tracking
Send errors from your apps to a project, group them, turn new ones into bug tasks and get alerted when something breaks.
This feature is in beta. If you do not see it, ask your admin to turn it on for your organization.
Error tracking collects the errors your own apps raise and shows them on the project they belong to. Identical errors are grouped, so one bug that fires 500 times is one row. A new error can become a bug task on its own. People who own the work are alerted.
Your app reports errors with a standard Sentry SDK, so you do not install anything of ours.
Before you start
Section titled “Before you start”- You also need edit rights on the project to create keys or change its rules.
- There is no organization-wide errors page and no sidebar item. Errors live on each project, and each error’s detail lives on its task.
- Every control you cannot use is absent, not greyed out.
Connect an app
Section titled “Connect an app”- Open the project and go to Settings > Errors, or choose Set up error tracking on the empty Errors tab.
- Under Keys & setup, choose New key and give it a Label.
- Copy the DSN. It is shown only once. To get a new one, rotate the key.
- Paste it into your app using the snippet for your stack: Laravel, PHP, JavaScript, Livewire and Alpine, or any other Sentry SDK.
- Choose Send test error. The page waits and says The test error arrived. when it works.
For a browser app, list its web addresses under Allowed origins, one per line. Only those sites may send errors with that key. Servers are not affected by this list.
Each key has an Events a minute limit. You can Rotate a key, and the old one keeps working for 24 hours so you can switch over. Revoke stops the key at once and cannot be undone.
Read the errors
Section titled “Read the errors”Open the project’s Errors tab. Each row is one group of the same error. It shows how often it happened, how many people it hit, when it was last seen, and whether it has a task.
- Filter by environment, time range, status, or assigned to me, and search by title.
- The default view shows unresolved errors from the last 14 days.
- Choose a row to open a quick view with a chart and the failing line. A link to a group opens that quick view.
- Errors from environments such as local and testing are left out of the list unless you ask for them.
Triage from the keyboard
Section titled “Triage from the keyboard”On the Errors tab, press j and k to move between rows, Enter to open the quick view, r to resolve, i to ignore, s for a snooze menu, a to assign to yourself and t to open or make the task. Press ? for the help panel. Keys do nothing while you are typing in a field.
Work an error
Section titled “Work an error”Open an error’s task and choose its Error tab. It shows:
- Handled or unhandled, the status, how many events and how many people over 90 days.
- A history chart and the top values for each tag, such as release and environment.
- The events one by one: first, latest, or the most useful one. Each shows the exception chain, the stack trace, breadcrumbs, the request and the user.
- Copy as Markdown for AI, for pasting an error into an assistant.
- A deploy hint when the error started right after a deploy.
On the right you can Resolve, Resolve in next release, Ignore, snooze for an hour, a day or a week, or mark it unresolved.
- Resolve in next release keeps the error quiet until a newer release sees it again.
- Merge two or more errors that are really one, from the Errors tab. One keeps its task. The other tasks are canceled with a note.
- Split this event moves one event into its own error, for a case where two bugs were grouped as one.
Error text comes from the monitored app. It is shown as plain text only, and sensitive values such as passwords and tokens are removed before anything is stored.
Bug tasks
Section titled “Bug tasks”A group can have one task, ever. The task lists its error on the Error tab.
- By default, each new unhandled error in an alert environment makes a Bug task on its own. A person can instead choose Make task on a row, or Link task to attach an existing one in the same project.
- A resolved error moves its task to done. A closed task resolves its error. A reopened task unresolves it.
- If a resolved error comes back, its task reopens and a note says which release it returned in.
- The task’s priority rises as impact grows: by default 10, 100 and 1,000 events a day, or 5, 25 and 100 people, give high priority and then critical. It only goes up. If a person lowers it, ProjectBrain stops raising it.
Alerts
Section titled “Alerts”People who own the work are alerted: the project’s leads, the task’s assignee, whoever claimed the error, and the person an agent works for on that task. They must be able to see the project.
- Alerts cover a new error, one that came back, one that became critical, and an incident. An incident is a burst of many new errors at once, by default 10 in 5 minutes. It opens one alert instead of ten.
- Only alert environments send alerts. The default is production. If a project sends no production events for 30 days, its other non-ignored environments count instead.
- Alerts arrive in the bell and by email. Several in a short time are collected into one email.
- Critical errors and incidents can also send a web push notification.
- Choose Your settings > Notifications > Errors to set quiet hours in your own time zone. A push during quiet hours is held and sent once when they end. The bell and email are not affected.
Project rules
Section titled “Project rules”On the project’s Settings > Errors, open Rules to set:
- Whether new errors make tasks on their own or only when someone chooses Make task, and which milestone those tasks join.
- Ignored environments and alert environments.
- The escalation numbers, incident size, extra keys to scrub and the rate limit.
Each save sends the whole form. A value that is refused shows beside its field.
Find bugs from errors
Section titled “Find bugs from errors”On the task list, Source has a Bugs from Amygdala filter that keeps only tasks made from errors.
Limits
Section titled “Limits”- Raw events are kept for about 90 days. Counts and the tasks stay.
- Deleting or archiving a project revokes its keys and removes its errors. Tasks are left alone.
- An error has no page of its own. Use the task’s Error tab.
- An alert can arrive up to 10 minutes after the event, because alerts are collected before they are sent.