We’re proud to announce the immediate Beta availability of .NET Core Linux! This includes .NET Core 1.1, 1.0, and .NET Core 2.0! We’re also very proud to include full Docker support for .NET Core Linux!
Dynatrace is the first APM vendor to support .NET Core Linux with an end-to-end tracing perspective that requires no changes to your .NET Core application.
Dynatrace provides out-of-the-box support for ASP.NET Core (versions 1.0, 1.1, and 2.0). Dynatrace automatically detects deployed web applications and tracks all web requests. For each web request, you get response times, CPU usage, and locking times. Dynatrace also detects each failed request and provides an exception stack trace that shows you the root cause of each failure.
Dynatrace even enables you to analyze every single web request to understand its runtime behavior.
You get complete web request details…
…all the way down to the code level.
OneAgent monitors all ADO.NET-based database interactions, including Entity Framework Core. If any database statements degrade or produce unexpected errors, Dynatrace sends you an alert.
When you analyze the response time of your .NET Core Linux applications, Dynatrace tells you exactly how much response time each statement contributes to overall response time.
Custom entry points
If you’re not running a web application, but rather a standalone executable (GUI application, batch process, etc), you can specify any method in your code to act as the executable’s entrypoint. To do this, go to Settings > Server-side service monitoring > Custom services, click the Create custom service button, and set up the method as a custom service. Learn more about configuring detection of custom application services.
For Azure VMs, see Azure monitoring with the Dynatrace VM extension.
Getting started with .NET Core Linux
To enable monitoring for your .NET Core Linux processes
- Go to Settings > Monitoring > Monitored technologies and set the .NET Core (Beta) switch to the On position.
- Select Hosts from the navigation menu and then select your Linux host from the Hosts list. You’ll find all your Linux host’s processes listed in the Processes and Docker containers section of the host page, including Dockerized processes (see below).
- Click the Browse […] button to open the host’s Process group settings page.
- To enable monitoring for the Linux processes, set the Automatically monitor newly found processes switch to the On position (see below).
- Restart the Docker container or process to inject OneAgent into the host’s .NET Core processes and begin capturing monitoring data.
Limitations for .NET Core Linux
There are still a few limitations to Dynatrace .NET Core Linux support that we will address in a future release:
- Method hotspot support is not yet available
- CLR metrics are not yet available.
Let us know what you think
We’d love to hear your thoughts on Dynatrace .NET Core for Linux support. If you have feedback for us, post a message at Dynatrace Community.
Note: This feature requires Dynatrace OneAgent 1.127 or higher.