Atatus .NET APM traces Redis commands issued through the StackExchange.Redis client by registering a profiling session on the connection multiplexer, creating a span for each command inside an active transaction.

Package installation

Add the Atatus StackExchange.Redis instrumentation package to the application.

Register Atatus on the connection multiplexer

Redis instrumentation is enabled by registering Atatus on the IConnectionMultiplexer once, after the connection is created. Unlike the diagnostics-subscriber integrations, this step is always required, even when using Atatus.NetCoreAll, because the profiler must be attached to your own connection.

What Atatus captures ?

  • A span for each Redis command executed through the StackExchange.Redis client, including the command type.