Skip to content

Commit

Permalink
Merge pull request #841 from shanson7/patch-1
Browse files Browse the repository at this point in the history
Add movingWindow to list of functions that might adjust timerange
  • Loading branch information
Civil committed Sep 2, 2024
2 parents b20c4f4 + 2aa3429 commit ace9091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (e *expr) Metrics(from, until int64) []MetricRequest {
}
r = append(r, adjustedReq)
}
case "movingAverage", "movingMedian", "movingMin", "movingMax", "movingSum", "exponentialMovingAverage":
case "movingAverage", "movingMedian", "movingMin", "movingMax", "movingSum", "movingWindow", "exponentialMovingAverage":
if len(e.args) < 2 {
return nil
}
Expand Down

0 comments on commit ace9091

Please sign in to comment.