Atatus .NET APM traces Azure Cosmos DB operations by subscribing to the diagnostics emitted by the SDK, creating a span for each Cosmos DB operation inside an active transaction.

Package installation

Add the Atatus Azure Cosmos DB instrumentation package to the application.
If you are already using the Atatus.NetCoreAll package, Azure Cosmos DB subscribers are wired automatically and no additional subscription code is required.

Subscribe to Azure Cosmos DB diagnostics

Register the diagnostics subscriber once during application startup so Atatus can create spans from the emitted activities.

What Atatus captures ?

  • A span for each Azure Cosmos DB SDK operation, such as reads, writes, and queries against a container.