The Atatus .NET agent monitors your .NET 5+ and ASP.NET Core applications on Linux and Windows. Install it using the Profiler or the NuGet package.
Supported versions
- .NET 5.0, 6.0, 7.0, 8.0, 9.0 — Profiler or NuGet package
- .NET Core 3.1 — NuGet package only (the profiler does not support it)
Profiler
The profiler attaches at runtime through environment variables. See the Profiler overview for prerequisites and the full list of variables.
Linux
Download and extract the profiler into a directory your application can read, such as
~/atatus:copywget https://atatus-artifacts.s3.amazonaws.com/atatus-dotnet/downloads/atatus-dotnet-agent-profiler-3.2.2-linux-x64.zip mkdir -p "$HOME/atatus" unzip atatus-dotnet-agent-profiler-3.2.2-linux-x64.zip -d "$HOME/atatus"Set these environment variables before starting the application:
copyexport CORECLR_ENABLE_PROFILING="1" export CORECLR_PROFILER="{A6C28362-6F75-472A-B36C-50C1644DA40A}" export CORECLR_PROFILER_PATH="$HOME/atatus/libatatus_profiler.so" export ATATUS_PROFILER_HOME="$HOME/atatus" export ATATUS_PROFILER_INTEGRATIONS="$HOME/atatus/integrations.yml" export ATATUS_LICENSE_KEY="YOUR_LICENSE_KEY" export ATATUS_APP_NAME="YOUR_APP_NAME" export ATATUS_ANALYTICS="true" export ATATUS_TRACING="true" export ATATUS_CAPTURE_BODY="all"Restart the application.
Windows
Download the Windows profiler ZIP in your browser.
Extract All… and choose a folder such as
C:\atatus.Set these environment variables in PowerShell before starting the application:
copy$env:CORECLR_ENABLE_PROFILING="1" $env:CORECLR_PROFILER="{A6C28362-6F75-472A-B36C-50C1644DA40A}" $env:CORECLR_PROFILER_PATH="C:\atatus\atatus_profiler.dll" $env:ATATUS_PROFILER_HOME="C:\atatus" $env:ATATUS_PROFILER_INTEGRATIONS="C:\atatus\integrations.yml" $env:ATATUS_LICENSE_KEY="YOUR_LICENSE_KEY" $env:ATATUS_APP_NAME="YOUR_APP_NAME" $env:ATATUS_ANALYTICS="true" $env:ATATUS_TRACING="true" $env:ATATUS_CAPTURE_BODY="all"Restart the application.
NuGet package
.NET 7.0 and above
Install the package:
copydotnet add package Atatus.NetCoreAllCall
AddAllAtatus()inProgram.csbefore building the app:copyusing Atatus.NetCoreAll; var builder = WebApplication.CreateBuilder(args); builder.Services.AddAllAtatus(); var app = builder.Build(); app.Run();Add your app name and license key to
appsettings.json:copy"Atatus": { "AppName": "YOUR_APP_NAME", "LicenseKey": "YOUR_LICENSE_KEY" }Restart the application.
.NET Core 3.1 to .NET 6.0
Install the package:
copydotnet add package Atatus.NetCoreAllCall
UseAllAtatus(Configuration)as the first line ofConfigureinStartup.cs:copyusing Atatus.NetCoreAll; public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseAllAtatus(Configuration); // Your code here }Add your app name and license key to
appsettings.json(as shown above).Restart the application.
Deploying on IIS
ASP.NET Core runs behind the ASP.NET Core Module on IIS, so the same code works. Publish the application, copy the output (including the generated web.config) to the IIS site folder, and recycle the application pool. For profiler-based IIS setup, see the IIS guide.
Next steps
- Customizing the agent — analytics, tracing, and request body capture
- Per-integration setup: SQL Client, MongoDB, Redis, Azure Service Bus
- Troubleshooting
+1-415-800-4104