VOOZH about

URL: https://docs.datadoghq.com/ide_plugins/idea/

⇱ Datadog Plugin for JetBrains IDEs


For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/ide_plugins/idea.md. A documentation index is available at /llms.txt.

Datadog Plugin for JetBrains IDEs

This product is not supported for your selected Datadog site. ().

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 Code Security, Error Tracking, and Logs to monitor their services. It is available for IntelliJ IDEA, GoLand, PyCharm, RubyMine, WebStorm, and PhpStorm.

Requirements

  • A Datadog account: The plugin requires a Datadog account. If you’re new to Datadog, go to the Datadog website to learn more about Datadog’s observability tools and sign up for a free trial.

Setup

Install the Datadog plugin

  1. In the IDE Settings select Plugins and search for Datadog in the Marketplace tab.
  2. Click Install to download and install the plugin in your IDE.
  3. Click Restart IDE.

Alternatively, you can install the plugin from the JetBrains Marketplace.

Log in to Datadog

After installing the Datadog plugin and restarting the IDE, log in to Datadog:

  1. With a file or project open in the IDE, click the Datadog tool window.
  2. Click Log in….
  3. In the browser window that opens, select your site and organization, then authorize access to the platform.

Note: For most users, one login is all that is required. If you’re using a multi-org setup, check to ensure that the correct account is active. To find out which login your IDE is using, click Settings -> Tools -> Datadog, and check which account is active.

Link a service

To provide relevant data from the Datadog platform, add related services to your project:

  1. With your project open in the IDE, open the Datadog tool window and select Manage Linked Services… from the Options menu.
  2. A settings dialog opens, click the plus icon (+).
  3. Search for and select the services that you want to add to the current project.

To remove a service, select it in the Services table and click the minus icon (-).

The names of linked services persist with the project when you close it.

Core features

Code Security

The Code Security integration promotes better security by flagging library vulnerabilities and runtime code vulnerabilities. The local code analyzer checks your code changes as you edit to detect quality and security issues prior to commit.

Find out more in the Code Security sub-section.

View in IDE

The View in IDE feature provides a link from the Datadog platform directly to the source files in your IDE. Look for the button next to frames in stack traces displayed on the platform (for example, in Error Tracking):

To make the most of this feature, ensure that Source Code Integration is configured for your service.

Other features

Error Tracking

This feature is in limited support.

The Error Tracking integration helps you find and fix runtime errors from Error Tracking.

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

Find out more in the Error Tracking sub-section.

Logs

This feature is in limited support.

The Logs integration detects log lines in your source code, displays live event counts directly in the source editor, and provides links to the Datadog Log Explorer to view the logs generated by each log line.

Find out more in the Logs sub-section.

Code Origin for Spans

This feature is in limited support.

The Code Origin for Spans integration shows you metrics for entry spans at the corresponding location in your source code.

Click the inlay to open the Datadog tool window and inspect the span details.

Flaky Tests

This feature is in limited support.

The Flaky Tests integration shows you flaky tests detected by Test Optimization.

Click the inlay to open the Datadog tool window and inspect the test details.

CI Test Runs

This feature is in limited support.

You can view recent test runs in the CI Visibility Explorer by navigating directly from your source files. Look for the CI Test Run inlays above test method declarations in your source code:

Clicking the link opens the Test Runs tab showing the recent history for one test case.

Data and telemetry

Datadog collects information about your usage of this IDE, including how you interact with it, whether errors occurred while using it, and what caused those errors, in accordance with the Datadog Privacy Policy and Datadog’s EULA.

If you don’t wish to send this data to Datadog, you can disable the collection at any time in the settings: Settings > Tools > Datadog > Data Sharing and disable the Send usage statistics option.

Feedback

You can give feedback in the discussion forum, or send an e-mail to team-ide-integration@datadoghq.com.

Further reading