diff --git a/data/docs/alerts-management/anomaly-based-alerts.mdx b/data/docs/alerts-management/anomaly-based-alerts.mdx index 8e6da25dd..a2c9cbed0 100644 --- a/data/docs/alerts-management/anomaly-based-alerts.mdx +++ b/data/docs/alerts-management/anomaly-based-alerts.mdx @@ -91,6 +91,10 @@ You can incorporate result attributes in the alert descriptions to make the aler **Example**: If you have a query that has the attribute `service.name` in the group by clause then to use it in the alert description, you will use `$service.name`. +#### Slack alert format + +Using [advanced slack formatting](https://api.slack.com/reference/surfaces/formatting#advanced) is supported if you are using Slack as a notification channel. + ### Labels A field to add static labels or tags for categorization. Labels should be added in key value pairs. First enter key (avoid space in key) and set value. diff --git a/data/docs/alerts-management/exceptions-based-alerts.mdx b/data/docs/alerts-management/exceptions-based-alerts.mdx index 9aa057e78..df254522f 100644 --- a/data/docs/alerts-management/exceptions-based-alerts.mdx +++ b/data/docs/alerts-management/exceptions-based-alerts.mdx @@ -59,6 +59,10 @@ You can incorporate result attributes in the alert descriptions to make the aler **Example**: If you have a query that has the attribute `service.name` in the group by clause then to use it in the alert description, you will use `$service.name`. +#### Slack alert format + +Using [advanced slack formatting](https://api.slack.com/reference/surfaces/formatting#advanced) is supported if you are using Slack as a notification channel. + ### Labels A field to add static labels or tags for categorization. Labels should be added in key value pairs. First enter key (avoid space in key) and set value. diff --git a/data/docs/alerts-management/log-based-alerts.mdx b/data/docs/alerts-management/log-based-alerts.mdx index ff6d51286..9a411b9e0 100644 --- a/data/docs/alerts-management/log-based-alerts.mdx +++ b/data/docs/alerts-management/log-based-alerts.mdx @@ -65,6 +65,10 @@ You can incorporate result attributes in the alert descriptions to make the aler **Example**: If you have a query that has the attribute `service.name` in the group by clause then to use it in the alert description, you will use `$service.name`. +#### Slack alert format + +Using [advanced slack formatting](https://api.slack.com/reference/surfaces/formatting#advanced) is supported if you are using Slack as a notification channel. + ### Labels A field to add static labels or tags for categorization. Labels should be added in key value pairs. First enter key (avoid space in key) and set value. diff --git a/data/docs/alerts-management/metrics-based-alerts.mdx b/data/docs/alerts-management/metrics-based-alerts.mdx index 2ff47c72c..f966fce8b 100644 --- a/data/docs/alerts-management/metrics-based-alerts.mdx +++ b/data/docs/alerts-management/metrics-based-alerts.mdx @@ -89,6 +89,10 @@ You can incorporate result attributes in the alert descriptions to make the aler **Example**: If you have a query that has the attribute `service.name` in the group by clause then to use it in the alert description, you will use `$service.name`. +#### Slack alert format + +Using [advanced slack formatting](https://api.slack.com/reference/surfaces/formatting#advanced) is supported if you are using Slack as a notification channel. + ### Labels A field to add static labels or tags for categorization. Labels should be added in key value pairs. First enter key (avoid space in key) and set value. diff --git a/data/docs/alerts-management/trace-based-alerts.mdx b/data/docs/alerts-management/trace-based-alerts.mdx index 431082895..91ac991f1 100644 --- a/data/docs/alerts-management/trace-based-alerts.mdx +++ b/data/docs/alerts-management/trace-based-alerts.mdx @@ -64,6 +64,10 @@ Add a detailed description for the alert, explaining its purpose and trigger con You can incorporate result labels in the alert descriptions to make the alerts more informative: +#### Slack alert format + +Using [advanced slack formatting](https://api.slack.com/reference/surfaces/formatting#advanced) is supported if you are using Slack as a notification channel. + ### Test Notification A button to test the alert to ensure that it works as expected. diff --git a/data/docs/userguide/query-builder.mdx b/data/docs/userguide/query-builder.mdx index 3192fed27..33cdedd5c 100644 --- a/data/docs/userguide/query-builder.mdx +++ b/data/docs/userguide/query-builder.mdx @@ -266,7 +266,7 @@ To extend the data analysis capabilities of the Metrics Query Builder, you can u - **Smoothing Functions:** To deal with volatile data, smoothing functions can be applied, such as moving averages, which help in identifying underlying trends by reducing noise. For example, functions like EWMA 3/5/7 (Exponentially Weighted Moving Average) can smooth data fluctuations over 3, 5, or 7 periods. -- **Time Shift Functions:** These functions enable comparisons of data across different time periods, useful for analyzing trends, changes, or anomalies over time. For example, using the `Time Shift` function for shifting a series by a fixed amount of seconds to compare current data with past data. +- **Time Shift Functions:** These functions enable comparisons of data across different time periods, useful for analyzing trends, changes, or anomalies over time. For example, using the `Time Shift` function for shifting a series by a fixed amount of seconds to compare current data with past data. The input for this function is a time shift value in seconds. For example, `Time Shift 3600` will shift the series by 1 hour.
Functions in metrics query builder diff --git a/data/newsroom/launch-week-1-day-2.mdx b/data/newsroom/launch-week-1-day-2.mdx index 03e5c7d4e..a275bb668 100644 --- a/data/newsroom/launch-week-1-day-2.mdx +++ b/data/newsroom/launch-week-1-day-2.mdx @@ -142,7 +142,7 @@ We have added support for four kinds of functions in the metrics query builder t - **Smoothing Functions:** To deal with volatile data, smoothing functions can be applied, such as moving averages, which help in identifying underlying trends by reducing noise. -- **Time Shift Functions:** These functions enable comparisons of data across different time periods, useful for analyzing trends, changes, or anomalies over time. +- **Time Shift Functions:** These functions enable comparisons of data across different time periods, useful for analyzing trends, changes, or anomalies over time. The input for this function is a time shift value in seconds. For example, `Time Shift 3600` will shift the series by 1 hour. You can use functions for things like reducing visual noise.