Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

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.

Error Tracking in the source editor

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.

The Error Tracking tool window

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.

Error Tracking list

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 description, the service, the count, first-seen and last-seen information, and a stack trace.

Error Tracking details

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.

Further reading

Más enlaces, artículos y documentación útiles: