-
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 <me@lamida.net> * Fix irate and idelta implementation and move it inside range_vectors.go Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Remove unneeded arguments Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Fix lint Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Fix promql test whitespace Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Update pkg/streamingpromql/operators/functions/range_vectors.go Co-authored-by: Joshua Hesketh <joshua.hesketh@grafana.com> * Update pkg/streamingpromql/operators/functions/range_vectors.go Co-authored-by: Joshua Hesketh <joshua.hesketh@grafana.com> * Put len in var Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Add more comprehensive tests Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Remove extra line Signed-off-by: Jon Kartago Lamida <me@lamida.net> * Move len var further up Signed-off-by: Jon Kartago Lamida <me@lamida.net> --------- Signed-off-by: Jon Kartago Lamida <me@lamida.net> Co-authored-by: Joshua Hesketh <joshua.hesketh@grafana.com>
- 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