From a555a938e02a4924bb36abe9c0ecc7e706584927 Mon Sep 17 00:00:00 2001 From: vivianyentran <20403606+vivianyentran@users.noreply.github.com> Date: Thu, 15 Feb 2024 11:06:45 -0800 Subject: [PATCH] Update metric-alert-config.mdx Add note archived issues are excluded. --- docs/product/alerts/create-alerts/metric-alert-config.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/product/alerts/create-alerts/metric-alert-config.mdx b/docs/product/alerts/create-alerts/metric-alert-config.mdx index 9ceab5eab2837..a9ac9602a0001 100644 --- a/docs/product/alerts/create-alerts/metric-alert-config.mdx +++ b/docs/product/alerts/create-alerts/metric-alert-config.mdx @@ -10,6 +10,10 @@ Sentry provides several configuration options to create a metric alert based on To create a metric alert you first need to choose a metric type. For some alert types the function is built into the alert and for others you can choose functions and parameters to apply to it. For example, if you select “Users Experiencing Errors”, that translates to the function, `count_unique(user.id)`. Since editing this function would change the nature of the alert, it is not editable and thus hidden. On the other hand, if you select “Largest Contentful Paint” the measurement used is `measurement.lcp`, you also need to choose a function, e.g. `p75()`, for a combined metric function of `p75(measurement.lcp)`. + +By default, metric alerts exclude archived issues. For instance, an alert for "Number of Errors" does not count errors from archived issues. If you want your metric alerts include archived issues, you can manually add `is:archived` to your [filters](#filters). + + ### Metrics Types for Alerting #### Errors