Distributed .NET applications on Microsoft Azure often rely on managed services such as Azure Service Bus, Event Hubs, Cosmos DB, and Azure API Management (APIM) to move requests between systems. These services sit directly in the request path, routing API traffic, handling asynchronous messaging workflows, and storing application data. But when an issue appears in production, engineers frequently lose visibility at the boundary between their application code and Azure-managed infrastructure.

Datadog now extends distributed tracing for .NET applications running on Azure managed services. With support for Azure Service Bus, Event Hubs, Cosmos DB, and APIM, teams can follow requests across the full application flow without modifying application code. Instead of switching between Datadog and the Azure portal to piece together request timelines, engineers can investigate a complete trace from a single view.

In this post, we’ll look at how you can:

- Trace Azure messaging services with Datadog

- Monitor Cosmos DB operations within distributed traces