This model describes the body of the webhook payload that RealTheory posts to a registered endpoint when a system alert is raised.
Example:
{
"domainId": "8ca6aa4c-8c7d-9fb9-c751-3e038f90d283",
"domainName": "RealTheory, Inc.",
"version": "1.0",
"type": "alert",
"action": "create",
"url": "",
"consoleUrl": "https://myendpoint.realtheory.io/alerts/12a3ae02-5b90-3701-6534-d4d9ab751e5d",
"content": {
"type": "System",
"metadata": {
"objectType": "Pod",
"objectId": "14aecb16-ed6a-41f4-9be5-6e29b4e5cdce",
"objectName": "logger-67b576f56b-krvqs",
"clusterId": "f99e055f-b35d-208b-63b1-f4222b80151a",
"clusterName": "realtheory-cluster-01",
"nodeId": "c9e25d58-29a2-4d5f-b158-244f052f7d6f",
"nodeName": "aks-userpool-15373879-vmss00002w",
"customResourceDefinitionId": "00000000-0000-0000-0000-000000000000",
"customResourceDefinitionName": "",
"namespaceId": "0b3c50fe-5116-44bd-b229-543251be4e74",
"namespaceName": "web-app",
"serviceId": "ffd1d0e9-f543-418c-ac1c-6daed2649078",
"serviceName": "logger-svc",
"replicaSetId": "3726cad5-163d-4de1-8076-b09ab86e6941",
"replicaSetName": "logger-67b576f56b",
"deploymentId": "b3039e89-64f9-44de-8164-e97a95e17880",
"deploymentName": "logger",
"daemonSetId": "00000000-0000-0000-0000-000000000000",
"daemonSetName": "",
"statefulSetId": "00000000-0000-0000-0000-000000000000",
"statefulSetName": "",
"customResourceId": "00000000-0000-0000-0000-000000000000",
"customResourceName": "",
"jobId": "00000000-0000-0000-0000-000000000000",
"jobName": "",
"cronJobId": "00000000-0000-0000-0000-000000000000",
"cronJobName": "",
"podId": "14aecb16-ed6a-41f4-9be5-6e29b4e5cdce",
"podName": "logger-67b576f56b-krvqs"
},
"id": "12a3ae02-5b90-3701-6534-d4d9ab751e5d",
"key": "PodOOMKilledHealthCheck::14aecb16ed6a41f49be56e29b4e5cdce",
"title": "The pod has been recently terminated with the OOMKilled status.",
"message": "The 'Pod OOM Killed Check' has identified a high impact health concern on pod 'logger-67b576f56b-krvqs'.",
"details": "Last Pod Status: OOMKilled, Last Exit Code: 137, Last Terminated: 2024-09-05 16:14:36Z",
"comments": "",
"level": "High",
"category": "Health",
"source": "Pod OOM Killed Check (health check)",
"sourceId": "ddc94c84-4e77-40d9-a76c-cb8bac863f28",
"url": "",
"state": "New",
"advisoryId": "00000000-0000-0000-0000-000000000000",
"created": "2024-08-07T10:16:35.0176406Z",
"updated": "2024-09-05T16:20:09.6787782Z",
"postponedUntil": null,
"expires": "2024-09-05T16:25:08.1769592Z"
},
"timestamp": "2024-09-05T16:20:09.8312009Z"
}
where:
domainId: Represents the ID of the domain (account) that the payload is associated with.domainName: Represents the name of the domain (account) that the payload is associated with.version: Represents the version of the payload schema. The current version is '1.0'.type: Represents the type of payload. Supported values include 'alert'.action: Represents the action that triggered the webhook. Supported values include 'create'.url: Represents a custom URL associated with the payload. This value can be empty if not applicable.consoleUrl: Represents the URL that links directly to the alert in the RealTheory portal. This value can be empty if not configured.content: Represents the body of the payload. For a system alert payload, this is a SystemAlert object.timestamp: Represents the UTC time that the webhook was invoked.