-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MQE: Add support for irate and idelta function (#10326)
* Implement irate and idelta Signed-off-by: Jon Kartago Lamida <[email protected]> * Fix irate and idelta implementation and move it inside range_vectors.go Signed-off-by: Jon Kartago Lamida <[email protected]> * Remove unneeded arguments Signed-off-by: Jon Kartago Lamida <[email protected]> * Fix lint Signed-off-by: Jon Kartago Lamida <[email protected]> * Fix promql test whitespace Signed-off-by: Jon Kartago Lamida <[email protected]> * Update pkg/streamingpromql/operators/functions/range_vectors.go Co-authored-by: Joshua Hesketh <[email protected]> * Update pkg/streamingpromql/operators/functions/range_vectors.go Co-authored-by: Joshua Hesketh <[email protected]> * Put len in var Signed-off-by: Jon Kartago Lamida <[email protected]> * Add more comprehensive tests Signed-off-by: Jon Kartago Lamida <[email protected]> * Remove extra line Signed-off-by: Jon Kartago Lamida <[email protected]> * Move len var further up Signed-off-by: Jon Kartago Lamida <[email protected]> --------- Signed-off-by: Jon Kartago Lamida <[email protected]> Co-authored-by: Joshua Hesketh <[email protected]>
- Loading branch information
Showing
5 changed files
with
139 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters