Datadog Extension for Visual Studio

Join the Beta!

The Datadog extension for Visual Studio is in public beta. It is intended for .NET developers who use the Continuous Profiler for their .NET services. If the plugin stops working unexpectedly, check for updates or reach out to the team.

Overview

The Datadog extension for Visual Studio helps you to improve software performance by providing meaningful code-level insights in the IDE based on real-time observability data.

The Code Insights view keeps you informed about:

The Continuous Profiler helps you to reduce latency and lower cloud costs by highlighting code lines that:

  • Consume the most CPU
  • Allocate the most memory
  • Spend the most time on locks, disk I/O, and socket I/O

Requirements

  • Windows 10 or higher
  • .NET Framework 4.7.2 or higher
  • Visual Studio 2022 Community, Professional or Enterprise edition (64-bit)
  • 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.
  • Continuous Profiler: To display profiling data and insights, the plugin requires the Continuous Profiler to be configured for your services. For more information, see Getting Started with the Continuous Profiler

Getting Started

Download and install the extension

  1. In Visual Studio, go to Extensions > Manage Extensions.
  2. Search for Datadog.
  3. Click Download.
  4. Restart Visual Studio.

Alternatively, you can download the extension from the official Visual Studio Marketplace

Sign-in with your Datadog account

  1. In Visual Studio, go to Tools > Options > Datadog.
  2. Click Sign In.
  3. In the browser window that opens, select your site and organization and authorize access to the platform.
  1. Open a .NET solution file with Visual Studio.
  2. Go to Extensions > Datadog > Linked Services.
  3. Click Add Service.
  4. Select the services that are related to your .NET solution.
  5. Save the .NET solution file.

Feedback

Let us know what you think about the extension! Provide feedback on our discussion forum, or send an e-mail to team-ide-integration@datadoghq.com.

Further reading

Additional helpful documentation, links, and articles: