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.

What’s included

Web monitoring

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.

Database monitoring

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.

Azure integration

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

  1. Go to SettingsMonitoring Monitored technologies and set the .NET Core (Beta) switch to the On position. 
  2. 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).
  3. Click the Browse […] button to open the host’s Process group settings page.
  4. To enable monitoring for the Linux processes, set the Automatically monitor newly found processes switch to the On position (see below).
  5. 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 Answers.

Note: This feature requires Dynatrace OneAgent 1.127 or higher.