![]() |
VOOZH | about |
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.
Datadog in the Marketplace tab.Alternatively, you can install the plugin from the JetBrains Marketplace.
After installing the Datadog plugin and restarting the IDE, log in to Datadog:
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.
To provide relevant data from the Datadog platform, add related services to your project:
To remove a service, select it in the Services table and click the minus icon (-).
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.
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):
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.
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.
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.
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.
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.
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.
You can give feedback in the discussion forum, or send an e-mail to team-ide-integration@datadoghq.com.
Additional helpful documentation, links, and articles:
| |