We use Application Insights in our .netcore webapp,Analyzing the API in performance metrics, it was found that some records Cosmosdb queries, while others do not.

Gallatin 21V 186 Reputation points
2024-06-12T06:01:26.45+00:00

We use Application Insights in our .netcore webapp,Analyzing the API in performance metrics, it was found that some records Cosmosdb queries, while others do not.

User's imageUser's image

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,330 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,680 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,932 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sajeetharan 2,261 Reputation points Microsoft Employee
    2024-06-16T15:39:36.2833333+00:00

    It really depends on what you are logging from the application to the app insights configuration. You need to check the code about what you are writing. Another suggestion here is to try out the diagnostics feature of Azure Cosmos DB to log the requests.

    0 comments No comments

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.