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.
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.
Logs Navigation
Navigate to Datadog Logs Explorer directly from your source code. Supports Serilog, Log4net, NLog, and Microsoft.Extensions.Logging
Static Code Analysis
Analyze your codebase locally for security vulnerabilities, code quality issues, and best practices.
Open in Visual Studio
Seamless experience for navigating to source code in Visual Studio from the Datadog website.
Getting Started
- Download and install the extension
- Sign-in with your Datadog account, or sign-up for a free trial
- Open a Solution in Visual Studio
- Go to Extensions > Datadog > Filter by Service
- Add services to filter Code Insights, or leave empty to get all insights for the active repository.
- 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.7
- APM Continuous Profiler tool window (Extensions -> Datadog -> Continuous Profiler)
- Support SAML single sign-on authentication
- Improved static analaysis rules background loading
- Fixed a bug that causes VS to freeze on startup in some cases
Release 1.6
- Added support for flaky tests and security vulnerabilities
- New icons for code insights based on the type and priority level
- Linked services are now optional
- Fixed a bug that occurs when opening code insights from the Datadog website
- Various other bug fixes, enhancements, and performance improvements
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