# <a id="bitdrift.public.unary.alerts.v1.CommonAlertConfig"></a>CommonAlertConfig

**Source definition:** [`src/bitdrift/public/unary/alerts/v1/alerts.proto#L155-L175`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/alerts/v1/alerts.proto#L155-L175>)

Defines caller-visible alert metadata shared by all alert types.

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| name | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">between 1 and 255 chars</em> | Short name for the alert. |
| description | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">up to 2048 chars</em> | Long form description for the alert. |
| notifications | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">alerts</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">RateLimitedNotificationConfig</i>](bitdrift_public_unary_alerts_v1_RateLimitedNotificationConfig.md "bitdrift.public.unary.alerts.v1.RateLimitedNotificationConfig")</span><br><em class="proto-field-annotation">up to 100 items</em> | Notification targets for the alert. |
| custom_notification_text | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">up to 2048 chars</em> | If not empty, this text will be appended to the notification text for the alert when the  notification is sent. |
| labels | <span class="proto-type proto-type-primitive">map<string, string></span><br><em class="proto-field-annotation">up to 20 entries</em> | Optional labels to attach to the alert. For notification channels that support structured data  (e.g. PagerDuty and SNS), these labels can be used to provide additional context for the alert. |

</section>
<p class="h4">Example</p>
```json
{
  "custom_notification_text": "@checkout-oncall Please investigate.",
  "description": "Triggers when the checkout workflow error rate exceeds the configured threshold.",
  "labels": {
    "key": ""
  },
  "name": "Checkout error rate",
  "notifications": [
    {
      "min_time_between_notifications": "3600s",
      "notification_config": {
        "disabled": false,
        "notification_group": {
          "name": "engineering-oncall"
        }
      }
    }
  ]
}
```

