Datadog for Visual Studio
Datadog extension for Visual Studio helps you find and fix bugs, performance issues, and security vulnerabilities based on real-time observability data from your services and runtime environments.
Features
Code Insights
Stay informed about error tracking issues, security vulnerabilities, and flaky tests, without leaving Visual Studio.
![Code Insights Code Insights](https://datadog.gallerycdn.vsassets.io/extensions/datadog/visualstudio/1.5.23/1721405578610/images/features/code_insights.png)
Continuous Profiler
Analyze the performance of your applications with various profiling metrics such as CPU Time, Allocated Memory, Heap Size, Lock Wait Time, Thrown Exceptions, and more.
![Continuous Profiler Continuous Profiler](https://datadog.gallerycdn.vsassets.io/extensions/datadog/visualstudio/1.5.23/1721405578610/images/features/continuous_profiler.png)
Logs Navigation
Navigate to Datadog Logs Explorer directly from your source code. Supports Serilog, Log4net, NLog, and Microsoft.Extensions.Logging
![Logs Navigation Logs Navigation](https://datadog.gallerycdn.vsassets.io/extensions/datadog/visualstudio/1.5.23/1721405578610/images/features/logs_navigation.png)
Static Code Analysis
Analyze your codebase locally for security vulnerabilities, code quality issues, and best practices.
![Static Code Analysis Static Code Analysis](https://datadog.gallerycdn.vsassets.io/extensions/datadog/visualstudio/1.5.23/1721405578610/images/features/static_code_analysis.png)
Open in Visual Studio
Seamless experience for navigating to source code in Visual Studio from the Datadog website.
![Open in Visual Studio Open in Visual Studio](https://datadog.gallerycdn.vsassets.io/extensions/datadog/visualstudio/1.5.23/1721405578610/images/features/open_in_vs.png)
Getting Started
- Download and install the extension
- Restart Visual Studio
- Go to Tools > Options > Datadog
- Sign-in with your Datadog account, or sign-up for a free trial
- Open a solution in Visual Studio
- Go to Extensions > Datadog > Linked Services
- Click the Add Service button to associate services with your solution
- Go to Extensions > Datadog > Code Insights
See the Datadog Documentation for more information.
The extension requires the Continuous Profiler and Source Code Integration to be enabled. See Enabling the profiler, Continuous Profiler, and Source Code Integration for more information.
Help and Support
Report a bug, request a new feature, or ask for help on our public Public Issue Tracker
You can also send us an e-mail to team-ide-integration@datadoghq.com
What's New
Release 1.5
- Sign in with multiple Datadog accounts, organizations, and custom domain names
- Support git history file renames when navigating to Code Insights in the source code
- Fixed static code analysis request timeouts during solution-wide scan
- Various other bug fixes, enhancements, and performance improvements
Release 1.4
- Static Code Analysis
- Static code analysis engine and source code annotations
- Run code analysis for solution and active documents
- Integration with built-in error list tool window
- Show sign-in information message on startup
- Suggest to add services based on repository information
- Various bug fixes and performance improvements
Release 1.3
- Open Code Insights in Visual Studio by clicking the "Open In Visual Studio" button on Datadog website
- Various bug fixes and improvements
Release 1.2
- Logs Navigation - Navigate to the Datadog Logs Explorer directly from your source code
- Improved markdown support for Code Insights
- Various bug fixes and improvements
Roadmap
- Code Insights
- AI generated code fixes and unit tests
- Exception replay
- Logs
- Show log volumes and patterns in source code
- CI/CD
- Get insights from CI/CD pipelines
- Navigate to unit tests