Overview
The Error Tracking integration in the Datadog plugin for JetBrains IDEs helps you find and fix runtime errors from production, without leaving your IDE.
Source editor
Errors are highlighted in the source editor with a distinctive icon in the gutter, for lines that appear in error stack frames (lines of code on the execution path that led to an observed runtime error). Click the icon to select an error and display it in the Datadog tool window.
Errors shown in the editor are filtered by controls on the Error Tracking tab, described in the next section.
Error Tracking tab
Use the Error Tracking tab in the tool window to filter, sort and inspect errors, view stack traces, navigate to relevant locations in your source code, attempt fixes with your local agent, or navigate to Datadog to continue your investigations.
Additional information shown in this view includes the count, service, first-seen and last-seen timestamps.
Sorting and filtering
Set filters to show errors that are relevant to you:
- Issue type - The source of issues (backend, browser, or mobile)
- Team - Issues for selected teams
- Assignee - Issues assigned to selected users
- Status - Issues for selected statuses, from
For Review, Reviewed, Resolved, Ignored, Excluded - Repository - Issues linked to the repository for the current project
- Service - Issues for selected services
- Environment - Issues for selected environments
- Time frame - Issues that fall within the selected time frame (the last-seen timestamp is on or after the start of the time frame)
Errors can be sorted by:
- Relevance (highest to lowest) - A score based on recency, number of occurrences, and other factors
- Recency (newest to oldest) - Based on first-seen
- Count (highest to lowest) - The number of error occurrences
Issue list
Errors are displayed in a list on the left-side of the tool window, with the type, service, filename, error count and assignee listed.
Select an issue to display its details on the right-side of the tool window.
Issue details
The issue details pane shows detailed information about the selected error, including the error status, the count, and a stack trace.
Click the View in Datadog link to open the selected issue in Datadog.
Click on a file and line link in the stack trace to navigate to the code.
Fix with AI
When a local agent is detected (you have the Claude Code, Gemini, or Codex CLI installed locally), a Fix with Local Agent button will appear. Click this to open a new terminal and launch the local agent with a custom prompt from Datadog requesting the agent to fix the error.
Context tab
The Context tab shows details about the issue including the service, first-seen and last-seen information, the issue’s assignee, and the error count over time.
The Tags tab shows a breakdown of common tags to help you understand the distribution of the issue.
Variables tab
The Variables tab shows the set of variables captured with the stack trace when Exception Replay is enabled on the service.
You can switch between frames with data by clicking the icon on the left side of the stack trace.
Further reading
Additional helpful documentation, links, and articles: