Navigation

Monitoring and Alerts

Introduction

Atlas provides the following ways to monitor your cluster’s performance.

Performance Metrics

Atlas collects and displays metrics on the state of your cluster’s databases and on server usage. Metrics provide an indication of when you must modify your database configuration or add server capacity. See Monitor a Cluster.

Alerts

Atlas notifies you when your database operations or server usage reach thresholds that affect your cluster’s performance. See:

MongoDB Logs

Each mongod and mongos instance keeps an account of its activity in its own log file. Atlas retains the last five days of log messages for each instance in a cluster.

To download the logs for a single instance in a given cluster:

1
2

Download Logs.

  1. Click the cluster.
  2. Click the instance.
  3. Click the More tab.
  4. Click Download Logs.
3

In the Select Date Range modal, edit the necessary fields:

Important

If you have not set a group time zone, the returned log data may not respect the configured date range. See Group Settings.

Field Content
Start Time The date and time in your group’s time zone defining the inclusive lower bound of log activity to return.
End Time The date and time in your group’s time zone defining the inclusive upper bound of log activity to return.
4

Click Download Logs.

For information on reading MongoDB logs, refer to the Log Messages documentation in the MongoDB manual.