CosmosDB - Diagnostics in dotnet v3 SDK

banto 0 Reputation points
2025-02-28T14:43:58.66+00:00

Hello,

 

We are using CosmosDB dotnet v3 SDK and we are fetching around 550kb of data in one query.

Here is a gist of the code:

User's image

We noticed that the “ReadNextAsync()” method takes 180ms to execute. After closer examinations of the diagnostics, we can see that 160ms is spent just by sending telemetry data to azure :

User's image

Is it possible to disable or control the sending of these telemetry statistics in the client application ?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,776 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.