Skip to content

Commit e45bb70

Browse files
authored
Update score.sql
1 parent 940348b commit e45bb70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

metrics/defaults/sql/score.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ where
1818
metric_batch = '{{ metric_batch }}'
1919
and
2020
metric_type in ('metric', 'score')
21+
and
22+
metric_timestamp >= date('now', '-{{ score_metric_timestamp_max_days_ago }} day')
2123
{% if score_exclude_metrics is defined %}
2224
and
2325
-- Exclude the specified metrics

0 commit comments

Comments
 (0)