Skip to content

Commit

Permalink
fix(slo): use insert_zeros gap policy for historical summary calculat…
Browse files Browse the repository at this point in the history
  • Loading branch information
kdelemme authored and dej611 committed Oct 17, 2023
1 parent 7dc6278 commit e418cf0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ function generateSearchQuery(
window: timeWindowDurationInDays * bucketsPerDay,
shift: 1,
script: 'MovingFunctions.sum(values)',
gap_policy: 'insert_zeros',
},
},
cumulative_total: {
Expand All @@ -287,6 +288,7 @@ function generateSearchQuery(
window: timeWindowDurationInDays * bucketsPerDay,
shift: 1,
script: 'MovingFunctions.sum(values)',
gap_policy: 'insert_zeros',
},
},
},
Expand Down

0 comments on commit e418cf0

Please sign in to comment.