Monitoring and Optimization

Learn how to monitor Cosmos DB accounts and tweak them to keep costs down and improve performance.

Introduction

Maintaining a database is extremely important to keep performance high and costs down. However, before optimization, we need to identify what needs improvement. Let’s see what we can do about it.

Metrics

Metrics are at the core of Cosmos DB monitoring. We can get metrics of anything related to the account, from RUs, requests to databases created, and integrated cache hits.

The Azure portal

Our first stop is the account’s “Insightspanel. Here is an overview of the major metrics; we can customize the view and check individual databases.

Access this course and 1400+ top-rated courses and projects.