How to view cosmos database active connection in Azure Portal

IT Doodle 21 Reputation points
2022-01-06T11:56:18.26+00:00

Hi there,

I have an Azure function that queries Cosmos Database frequently, recently we noticed memory leaks and performance degradation in the Function App.

How do I view active database connections to Cosmos Database in the Azure portal.

I have a feeling that we aren't using singleton CosmosClient() object and potentially causing memory leaks.

Thank you

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