-
Notifications
You must be signed in to change notification settings - Fork 807
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
Integration test for native histograms #6037
Conversation
integration/native_histogram_test.go
Outdated
c, err = e2ecortex.NewClient("", queryFrontend.HTTPEndpoint(), "", "", "user-1") | ||
require.NoError(t, err) | ||
|
||
result, err := c.Query(`series_1`, series2Timestamp) |
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.
Should this be seriesTimetamp?
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.
It is an instant query and it is still within lookback delta so it can still query series 1. So it doesn't matter here.
9560153
to
1d97569
Compare
ad7f080
to
4aa30f6
Compare
I have updated the test to also do range query and make sure returned histogram is not nil. |
Signed-off-by: Ben Ye <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
5f6e4c6
to
d5f44c0
Compare
What this PR does:
Follow up of #6031. This PR adds integration for native histograms.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]