How to monitor connections made to Cosmos DB and Key Vault?

Divya Khanna 1 Reputation point
2022-03-11T07:23:07.8+00:00

I'm unable to monitor the number of connections being made to Azure Cosmos DB and Key Vault from my function app using Cosmos client and Secret client, respectively.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,283 questions
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,256 questions
Azure AI Metrics Advisor
Azure AI Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
82 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,632 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 17,886 Reputation points
    2022-03-11T10:06:10.973+00:00

    Hi @Divya Khanna

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    You should activate the log for the Key Vault, from there you can monitor the connections to the Key Vault.

    https://video2.skills-academy.com/en-us/azure/key-vault/general/howto-logging

    Also, you can configure alerts if there is any specific activity on the Key vault

    https://video2.skills-academy.com/en-us/azure/key-vault/general/alert

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Please "Accept as Answer" and/or Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.


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.