Sample alert for MongoDB Cloud Manager

Snapshot of the entity when an event occurs in MongoDB Cloud Manager.

The sample alert becomes available after you generate the webhook.

Open alert payload
{
    "replicaSetName": "atlas-xxxxx-shard-0",
    "metricName": "CONNECTIONS",
    "created": "2022-08-29T14:11:29Z",
    "groupId": "6306xxxxxxxxxxx",
    "typeName": "HOST_METRIC",
    "hostnameAndPort": "atlas-xxxxxx-shard-00-01.xxxxxx.mongodb.net:27017",
    "humanReadable": "Project: project_name\n\nOrganization: Dev's Org - 2022-08-24\n\n----------------------------------------\n\nOPEN\nConnections has gone above 10 \nac-xxxxxx-shard-00-01.xxxxxx.mongodb.net\nCreated: 2022/08/29 19:41 IST\nReplica Set: atlas-xxxxx-shard-0\nType: Primary\nCurrent Value: 12 \n\n----------------------------------------\n\n",
    "alertConfigId": "630ca962xxxxxx",
    "clusterName": "Cluster0",
    "userAlias": "ac-xxxxxx-shard-00-01.xxxxxx.mongodb.net",
    "eventTypeName": "OUTSIDE_METRIC_THRESHOLD",
    "links": [
        {
            "rel": "self",
            "href": "https://cloud.mongodb.com/api/atlas/v1.0/groups/63063xxxxxx/alerts/630ccxxxxxxxxxx"        }
    ],
    "id": "630ccxxxxxxxxxx",
    "updated": "2022-08-29T14:11:29Z",
    "currentValue": {
        "number": 12,
        "units": "RAW"
    },
    "status": "OPEN"
}
Closed alert payload
{ 
  "replicaSetName": "atlas-xxxxxx-shard-0", 
  "metricName": "CONNECTIONS", 
  "created": "2022-08-29T14:11:29Z", 
  "groupId": "63063bb6cxxxxxxxxd338e5e", 
  "typeName": "HOST_METRIC", 
  "hostnameAndPort": "atlas-xxxxxx-shard-00-01.xxxxxx.mongodb.net:27017", 
  "humanReadable": "Project: project_vt\n\nOrganization: Dev's Org - 2022-08-24\n\n----------------------------------------\n\nCLOSED\nConnections has gone above 1 \nac-xxxxxx-shard-00-01.dczulcl.mongodb.net\nCreated: 2022/08/29 19:41 IST\nReplica Set: atlas-raz4n1-shard-0\nType: Primary\nCurrent Value: 0 \n\n----------------------------------------\n\n", 
  "alertConfigId": "630ca962xxxxxxxx9146209", 
  "clusterName": "Cluster0", 
  "userAlias": "ac-xxxxxxx-shard-00-01.xxxxxxx.mongodb.net", 
  "eventTypeName": "OUTSIDE_METRIC_THRESHOLD", 
  "links": [ 
    { 
      "rel": "self", 
      "href": "https://cloud.mongodb.com/api/atlas/v1.0/groups/63063bb6xxxxxxxxx338e5e/alerts/630cxxxxxxxx0917d02c16" 
    } 
  ], 
  "id": "630cc9xxxxxxxxxd02c16", 
  "lastNotified": "2022-08-29T14:11:31Z", 
  "updated": "2022-08-29T14:18:23Z", 
  "currentValue": { 
    "number": 0, 
    "units": "RAW" 
  }, 
  "resolved": "2022-08-29T14:18:23Z", 
  "status": "CLOSED" 
}
Informational alert payload
{ 
  "created": "2022-08-25T05:22:10Z", 
  "groupId": "6305e604a84982xxxxxxxx", 
  "typeName": "DEPLOYMENT", 
  "humanReadable": "Project: Project 0\n\nOrganization: Dev's Org - 2022-08-24\n\n----------------------------------------\n\nINFORMATIONAL\nA user (or Code Deployment) has deployed changes successfully to an App Service\nTriggers\nCreated: 2022/08/25 10:52 IST\n\n----------------------------------------\n\n", 
  "linkToDetails": "https://realm.mongodb.com/groups/6305e604a849825xxxxxxxx/apps/630704afe708f9b11xxxxxxxx/deployment/history", 
  "alertConfigId": "630700184f591e386xxxxxxx", 
  "eventTypeName": "SUCCESSFUL_DEPLOY", 
  "links": [ 
    { 
      "rel": "self", 
      "href": "https://cloud.mongodb.com/api/atlas/v1.0/groups/6305e604a849825dxxxxxxx/alerts/630707024d431f3exxxxxxx" 
    } 
  ], 
  "id": "630707024d431f3ecxxxxxxx", 
  "applicationId": "630704xxxx08f9b112xxxxxxx", 
  "updated": "2022-08-25T05:22:10Z", 
  "applicationName": "Triggers", 
  "status": "INFORMATIONAL" 
}