Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions config/_default/menus/main.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1070,21 +1070,26 @@ menu:
parent: ide_plugins
identifier: ide_plugins_idea
weight: 701
- name: Error Tracking
url: developers/ide_plugins/idea/error_tracking/
parent: ide_plugins_idea
identifier: ide_plugins_idea_error_tracking
weight: 7011
- name: Logs
url: developers/ide_plugins/idea/logs/
parent: ide_plugins_idea
identifier: ide_plugins_idea_logs
weight: 7011
weight: 7012
- name: Live Debugger
url: developers/ide_plugins/idea/live_debugger/
parent: ide_plugins_idea
identifier: ide_plugins_idea_debugger
weight: 7012
weight: 7013
- name: Code Security
url: developers/ide_plugins/idea/code_security/
parent: ide_plugins_idea
identifier: ide_plugins_idea_code_security
weight: 7013
weight: 7014
- name: VS Code & Cursor
url: developers/ide_plugins/vscode/
parent: ide_plugins
Expand Down
13 changes: 7 additions & 6 deletions content/en/developers/ide_plugins/idea/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ further_reading:

## Overview

The Datadog plugin for JetBrains IDEs helps improve software performance by providing code insights in the IDE based on real-time observability data. The plugin is for developers that use Datadog products including [Error Tracking][6], [Logs][23], [Live Debugger][21] and [Code Security][24] to monitor their services. It is available for IntelliJ IDEA, GoLand, PyCharm, WebStorm, and PhpStorm.
The Datadog plugin for JetBrains IDEs helps improve software performance by providing code insights in the IDE based on real-time observability data. The plugin is for developers that use Datadog products including [Error Tracking][25], [Logs][23], [Live Debugger][20] and [Code Security][24] to monitor their services. It is available for IntelliJ IDEA, GoLand, PyCharm, WebStorm, and PhpStorm.

{{< img src="/developers/ide_plugins/idea/overview1.png" alt="The Datadog tool window open in IDEA" style="width:100%;" >}}

Expand Down Expand Up @@ -74,11 +74,11 @@ To remove a service, select it in the **Services** table and click the minus ico
## Core features

### Error Tracking
The [**Error Tracking**][6] integration helps you find and fix runtime errors from Error Tracking.
The [**Error Tracking**][25] integration helps you find and fix runtime errors from Error Tracking.

{{< img src="/developers/ide_plugins/idea/error-tracking-in-editor.png" alt="Error tracking in the source editor" style="width:100%;" >}}
{{< img src="/developers/ide_plugins/idea/error_tracking/editor.png" alt="Error tracking in the source editor" style="width:100%;" >}}

Click the inlay to open the Datadog tool-window and inspect details of the runtime error.
Click the gutter icon to open the Datadog tool window and inspect details of the runtime error.

### Logs

Expand All @@ -92,7 +92,7 @@ Find out more in the [Logs][23] sub-section.

The [**Live Debugger**][20] enables you to add logpoints—auto-expiring, non-breaking breakpoints—to your runtime code to collect information for debugging.

{{< img src="/developers/ide_plugins/idea/live_debugger/tool-window-tab.png" alt="The Live Debugger tab" style="width:100%;" >}}
{{< img src="/developers/ide_plugins/idea/live_debugger/tool-window-tab-v2.png" alt="The Live Debugger tab" style="width:100%;" >}}

Find out more in the [Live Debugger][20] sub-section.

Expand Down Expand Up @@ -175,4 +175,5 @@ You can give feedback in the [discussion forum][1], or send an e-mail to [team-i
[21]: /tracing/live_debugger/
[22]: /tracing/code_origin?tab=java
[23]: /developers/ide_plugins/idea/logs/
[24]: /developers/ide_plugins/idea/code_security/
[24]: /developers/ide_plugins/idea/code_security/
[25]: /developers/ide_plugins/idea/error_tracking/
68 changes: 68 additions & 0 deletions content/en/developers/ide_plugins/idea/error_tracking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: Error Tracking
type: documentation
further_reading:
- link: "/tracing/error_tracking/"
tag: "Documentation"
text: "Learn more about Error Tracking"
---

## Overview
The [Error Tracking][1] 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.

{{< img src="/developers/ide_plugins/idea/error_tracking/editor.png" alt="Error Tracking in the source editor" style="width:100%;" >}}

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.

{{< img src="/developers/ide_plugins/idea/error_tracking/toolwindow.png" alt="The Error Tracking tool window" style="width:100%;" >}}

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.

{{< img src="/developers/ide_plugins/idea/error_tracking/errorlist.png" alt="Error Tracking list" style="width:60%;" >}}

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.

{{< img src="/developers/ide_plugins/idea/error_tracking/details.png" alt="Error Tracking details" style="width:100%;" >}}

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

{{< partial name="whats-next/whats-next.html" >}}

[1]: /tracing/error_tracking/
2 changes: 1 addition & 1 deletion content/en/developers/ide_plugins/idea/live_debugger.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The Live Debugger enables you to add logpoints—auto-expiring, non-breaking bre
## Live Debugger tab
The **Live Debugger** tab in the Datadog tool window shows the current session, its logpoints, and the data captured by the selected logpoint:

{{< img src="/developers/ide_plugins/idea/live_debugger/tool-window-tab.png" alt="The Live Debugger tab" style="width:100%;" >}}
{{< img src="/developers/ide_plugins/idea/live_debugger/tool-window-tab-v2.png" alt="The Live Debugger tab" style="width:100%;" >}}

The panel has three sections:

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading