Azure cosmos mongo performance metrics collection.

Krishnan N 40 Reputation points
2024-09-02T06:39:32.9333333+00:00

Mongo Cosmos:

From "ServerSatus" Command we can be able to find the overall details about mongo service. Details are Connections, Storage engine, Cache, Transactions, Index Stats, locks, network, sessions.

In Azure Cosmos for mongo, From Docs "ServerSatus" Command is not supported.

FYR, https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/feature-support-42

From the link we can confirm, limited diagnostic command only supported.

Is this case, how can we collect the highlighted information from Cosmos service,

Please help me to resolve this metrics details are available and is able to collect.

If not able collect this information means, update what are possible performance metrics we can be able to collect from cosmos and the way to connect the service.

like API or JDBC. Basically, we are trying to collect this information from JAVA.

Thanks in advance!

Please update any link or docs to check supported metrics and the way to collect.

Regards, Krishnan.N

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

Accepted answer
  1. ShaktiSingh-MSFT 15,421 Reputation points
    2024-09-03T05:54:06.7733333+00:00

    Hi Krishnan N •,

    Welcome to Microsoft Q&A forum.

    As I understand, you want to know the supportability and workaround available for "serverstatus" diagnostic command in Azure Cosmos MongoDB.

    Since this command is yet not supported as per the standard document, we recommend you to raise feedback over Azure Cosmos DB Feedback channel so that team can work on the feature depending on the importance and up-votes.

    As part of getting details related to performance metrics, you can refer to:

    https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/find-request-unit-charge?source=recommendations&tabs=mongo-shell

    https://learn.microsoft.com/en-us/azure/cosmos-db/use-metrics

    Refer to the document for Azure Cosmos MongoDB:

    User's image

    Apart from Azure Monitor, you can use third party monitoring solutions to monitor your Azure Cosmos DB instances.

    https://learn.microsoft.com/en-us/azure/cosmos-db/monitoring-solutions

    Let us know if this helps.

    Thanks.

    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.