diff --git a/macros/edr/alerts/anomaly_detection_description.sql b/macros/edr/alerts/anomaly_detection_description.sql index 8c0a11e5f..7559d3b17 100644 --- a/macros/edr/alerts/anomaly_detection_description.sql +++ b/macros/edr/alerts/anomaly_detection_description.sql @@ -10,7 +10,7 @@ {% endmacro %} {% macro freshness_description() %} - 'Last update was at ' || anomalous_value || ', ' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('metric_value/3600') ~ ', 2))') }} || ' hours ago. Usually the table is updated within ' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('training_avg/3600') ~ ', 2))') }} || ' hours.' + 'Last update was at ' || anomalous_value || ', ' || 'which is' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('metric_value/3600') ~ ', 2))') }} || ' hours without updates (only full buckets are considered). Usually the table is updated within ' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('training_avg/3600') ~ ', 2))') }} || ' hours.' {% endmacro %} {% macro table_metric_description() %}