# Alerts as a notification source type

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fuser-guides%2Falerting%2Fconfigure-notifications%2Fsource-type-schema.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fuser-guides%2Falerting%2Fconfigure-notifications%2Fsource-type-schema.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

Alerts are one example of a notification source type, a component of the Coralogix infrastructure capable of sending notifications.

## Supported alert subtypes[​](#supported-alert-subtypes "Direct link to Supported alert subtypes")

A notification source subtype adds an added layer of granularity to a notification source type. For alerts, a source subtype consists of three elements: an alert type, a condition, and status.

The following alert source subtypes are supported:

<!--$?-->

<!--/$-->

All supported alert notification source subtypes, consisting of `EntityType` and `EntitySubType`, can be found in the [Alerts API](https://docs-docusaurus.kinsta.page/developer-portal/apis/data-management/alerts-api/alerts-grpc-api/.md).

## Alerts notification source type schema[​](#alerts-notification-source-type-schema "Direct link to Alerts notification source type schema")

### General reference[​](#general-reference "Direct link to General reference")

alert

Represents the alert details, including timestamp, ID, status, and group information.

alertDataUrl

Link to the incident page (e.g., <https://coralogix.com/#/insights?id=76c411be-gg4d-4fb1-a987-5fce042deaaf>).

groupingKey

Used as the deduplication key.

groups

List of alert groups associated with the alert (including priority and key-values).

groups\[n]

keyValues

Key-value pairs associated with the alert group; e.g., "team": "\\{\\{alert.groups\[0].keyValues.resource.attributes.Team}}" or "service":"\\{\\{alert.groups\[0].keyValues.coralogix.metadata.subsystemName}}"

resource

attributes

Team

coralogix

metadata

subsystemName

id

Unique identifier of the alert. Use it to create an alert URL in your notification; e.g., "alert\_url": "[https://teamname-prod.app.eu2.coralogix.com/#/alerts/\\{\\{alert.id}}](https://teamname-prod.app.eu2.coralogix.com/#/alerts/%5C%7B%5C%7Balert.id%7D%7D)"

priority

Priority level of the alert group (e.g., "P1").

status

Current status of the alert (e.g., "Triggered").

timestamp

The timestamp indicating when the alert was triggered.

alertDef

Defines the alert configuration, including name, description, groupings, incident settings, and priority.

alertVersionId

The version ID associated with the alert definition.

createdTime

The timestamp when the alert definition was created.

description

A textual description of the alert definition.

entityLabels

Labels associated with the alert definition (e.g., host, region).

groupByKeys

List of keys by which the alert is grouped (e.g., host, region).

id

The unique identifier of the alert definition.

incidentSettings

Configuration related to incident settings (e.g., retriggering period).

notifyOn

Notification setting for the alert definition (e.g., "Triggered").

name

Name of the alert definition (e.g., "CPU Usage Alert").

priority

Priority level of the alert definition (e.g., P1).

retriggeringPeriod

Time in minutes after which the alert can be retriggered.

status

Current status of the alert definition.

type

Type of the alert (e.g., "metricThreshold").

updatedTime

The timestamp when the alert definition was last updated.

### Context reference[​](#context-reference "Direct link to Context reference")

All templates have access to the `_context` variable, which contains metadata about the notification source type, including system identifiers and trigger details. This context allows you to dynamically customize your template content based on the notification's origin.

Find out more [here](https://docs-docusaurus.kinsta.page/user-guides/notification-center/dynamic-templating/.md)

## Related resources[​](#related-resources "Direct link to Related resources")

[Notification Center](https://docs-docusaurus.kinsta.page/user-guides/notification-center/introduction/.md)[Dynamic templating](https://docs-docusaurus.kinsta.page/user-guides/notification-center/dynamic-templating/.md)[Presets](https://docs-docusaurus.kinsta.page/user-guides/notification-center/presets/introduction/.md)

## Next steps[​](#next-steps "Direct link to Next steps")

Configure outbound webhook notification settings in [Configure alert notifications for outbound webhooks](https://docs-docusaurus.kinsta.page/user-guides/alerting/outbound-webhooks/configure-alert-notifications-for-outbound-webhooks/.md).
