Monitoring and Optimization

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.

Get hands-on with 1400+ tech skills courses.