Cosmos db via Mongo API - Active connections to the db

Raluca Nedelcu 21 Reputation points
2022-09-11T04:38:17.463+00:00

Hello,
How can I see in my Cosmos db all the active connections?

Thank you,
Raluca

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

Accepted answer
  1. Dillon Silzer 57,231 Reputation points
    2022-09-11T05:11:53.42+00:00

    Hi @Raluca Nedelcu

    A similar question was asked about monitoring connections to Cosmos db at https://stackoverflow.com/questions/62189308/how-can-i-monitor-the-currently-open-connections-of-an-azure-cosmos-db

    It looks like you either have two options (provided by Matias Quaranta)

    Azure Monitor has the Connections metrics: https://learn.microsoft.com/en-us/Azure/app-service/web-sites-monitor#understand-metrics
    Also, App Service has the Diagnostics Tool that includes Connections: https://azure.github.io/AppService/2018/03/01/Deep-Dive-into-TCP-Connections-in-App-Service-Diagnostics.html

    ------------------------------------------------

    If this is helpful please accept answer.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.