MongoDB Atlas
Connect MongoDB Atlas to the Pagerly SRE Agent to monitor cluster health and alerts.
What the Agent Can Do
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
Setup Instructions
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 OnlyCopy the Public Key and Private Key
Find your Project ID in the URL:
cloud.mongodb.com/v2/{projectId}Paste all three below
Required Credentials
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
Context Prompt Tips
"Our production cluster is prod-cluster-0. We use M30 tier. Replica set is in us-east-1."
Docs
Last updated
Was this helpful?