MongoDB Atlas
Connect MongoDB Atlas to the Pagerly SRE Agent to monitor cluster health and alerts.
Last updated
Connect MongoDB Atlas to the Pagerly SRE Agent to monitor cluster health and alerts.
List all clusters in a project β state, tier, version, provider
Get detailed cluster status β connection strings, disk size, backup config
List MongoDB processes (mongod/mongos) running in the project
Get open alerts β replication lag, disk space, CPU, connection issues
Log into MongoDB Atlas at https://cloud.mongodb.com
Click Access Manager (top nav) > API Keys
Click Create API Key
Give it a name (e.g., Pagerly), set role to Organization Read Only
Copy the Public Key and Private Key
Find your Project ID in the URL: cloud.mongodb.com/v2/{projectId}
Paste all three below
Public API Key
Atlas Public API key
abcdefgh
Private API Key
Atlas Private API key (shown only once)
12345678-abcd-...
Project ID
Atlas Project/Group ID (from URL)
60c1a2b3c4d5e6f7a8b9c0d1
The Private API Key is only shown once when you create it. Copy it immediately and store it securely.
"Our production cluster is prod-cluster-0. We use M30 tier. Replica set is in us-east-1."
Last updated