-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQE: Add support for delta function #9795
Conversation
b4c6a45
to
840c870
Compare
840c870
to
0dfa2c1
Compare
The CHANGELOG has just been cut to prepare for the next release. Please rebase |
0dfa2c1
to
3cedd49
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the separation of rate from delta. However, I also think this is how it's done upstream so I'm okay either way.
We should add some more tests to our tests. Specifically around native histograms and mixed data types. eg: what is the delta when the first and last sample are different types. What about having a NH in the middle of a vector of floats etc..
02a5e6d
to
daf0654
Compare
9d21d80
to
a4b03d5
Compare
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
* Extract delta from rate function Signed-off-by: Jon Kartago Lamida <[email protected]> * Update pkg/streamingpromql/operators/functions/rate_increase.go Co-authored-by: Charles Korn <[email protected]> * Update pkg/streamingpromql/operators/functions/rate_increase.go Co-authored-by: Charles Korn <[email protected]> * Update pkg/streamingpromql/operators/functions/rate_increase.go Co-authored-by: Charles Korn <[email protected]> * Update pkg/streamingpromql/operators/functions/rate_increase.go Co-authored-by: Charles Korn <[email protected]> * Tidy up after applying PR suggestion Signed-off-by: Jon Kartago Lamida <[email protected]> * Remove unnecessary head subslice Signed-off-by: Jon Kartago Lamida <[email protected]> * Remove wrong placed annotation Signed-off-by: Jon Kartago Lamida <[email protected]> * Remove extra copySchema Signed-off-by: Jon Kartago Lamida <[email protected]> * Simplify native histogram sub schema Signed-off-by: Jon Kartago Lamida <[email protected]> * Remove TODO Signed-off-by: Jon Kartago Lamida <[email protected]> * The lastPoint should be last index of the head Signed-off-by: Jon Kartago Lamida <[email protected]> * Add delta counterResetHint test Signed-off-by: Jon Kartago Lamida <[email protected]> --------- Signed-off-by: Jon Kartago Lamida <[email protected]> Co-authored-by: Charles Korn <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
19045f9
to
27fce29
Compare
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
# {path="/bar"} -200 | ||
eval instant at 20m delta(http_requests[20m]) | ||
{path="/foo"} 200 | ||
{path="/bar"} -200 | ||
|
||
# Unsupported by streaming engine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please enable the new delta
-related tests below?
tools/check-for-disabled-but-supported-mqe-test-cases
will help identify any test cases that might be able to be enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh missed that. Updated in e72c504
Co-authored-by: Charles Korn <[email protected]>
Co-authored-by: Charles Korn <[email protected]>
Co-authored-by: Charles Korn <[email protected]>
Co-authored-by: Charles Korn <[email protected]>
Co-authored-by: Charles Korn <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
Signed-off-by: Jon Kartago Lamida <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
What this PR does
Which issue(s) this PR fixes or relates to
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.