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
…ion (#168044)
  • Loading branch information
kdelemme authored Oct 5, 2023
1 parent 6301dc8 commit cee55e3
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 cee55e3

Please sign in to comment.