Datadog Extension for Visual Studio

Overview

The Datadog extension for Visual Studio helps you find and fix bugs, security issues, and performance bottlenecks based on real-time observability data from your services and runtime environments.

Datadog extension for Visual Studio

Code insights

Stay informed about Error Tracking issues, Security Vulnerabilities, Flaky Tests, and Watchdog profiling insights without leaving Visual Studio.

The Code Insights view

Continuous Profiler

Analyze and improve the performance of your applications with real-time profiling metrics for CPU, Memory, I/O, and others.

The Code Insights view

Logs navigation

You can navigate to the Log Explorer on the Datadog platform directly from your C# source files. Look for the clickable icon preceding message strings from log statements within your source code:

A source file showing log lines with clickable icons.

Clicking the icon opens the Log Explorer with a query that matches the logger name, log level, and log message as closely as possible.

Open code in Visual Studio from Datadog

Navigate from Datadog to your source code with one click.

A stack trace on the Datadog platform showing the View in Visual Studio button.

Getting started

Requirements

Setup and installation

  1. Download and install the extension from the official Visual Studio Marketplace.
  2. In Visual Studio, go to Tools > Options > Datadog.
  3. Sign in with your Datadog account, or sign up for a free trial.
  4. Open a solution in Visual Studio.
  5. Go to Extensions > Datadog > Linked Services.
  6. Add services, and save your solution.
  7. Go to Extensions > Datadog > Code Insights.

Feedback

Report a bug, request a new feature, or ask for help on the Discussion Forum and Issue Tracker on GitHub. You can also email team-ide-integration@datadoghq.com.

Further Reading