Datadog for Visual Studio
The Datadog extension for Visual Studio enables developers to quickly identify and fix bugs, performance bottlenecks, and security vulnerabilities by leveraging observability data from services and runtime environments.
Features
Logs Support
View the estimated log volume detected based on Log Patterns in your source code and jump straight to Logs Explorer for deeper analysis.
Code Insights
Stay updated on error tracking issues, security vulnerabilities, and flaky tests - all 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, and Thrown Exceptions.
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
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 Feedback
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.9
- Added Just My Code filter to the Continuous Profiler tool window
- Code Insights are now filtered by relative repository path for better accuracy when no services are connected
- CodeLens insights above methods and classes now navigate directly to the corresponding lines of code
- Enhanced the Code Insights loading process and responsiveness
- Various other bug fixes and improvements
Release 1.8
- Display the estimated log volume in the source code, detected based on Log Patterns
- Added support for logger name in the logs navigation feature
- Enhanced the performance and reliability of static analysis scanning
- Added an option to cancel static analysis scanning
- Added a status bar menu to show the currently selected time frame and environment
- Clicking a CodeLens insight now navigates to the corresponding line of code
- Improved startup process and resolved an issue where the UI could occasionally freeze
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