Skip to content
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

Merged
merged 5 commits into from
Jul 1, 2024

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jun 25, 2024

What this PR does:

Follow up of #6031. This PR adds integration for native histograms.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

c, err = e2ecortex.NewClient("", queryFrontend.HTTPEndpoint(), "", "", "user-1")
require.NoError(t, err)

result, err := c.Query(`series_1`, series2Timestamp)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be seriesTimetamp?

Copy link
Contributor Author

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.

@yeya24
Copy link
Contributor Author

yeya24 commented Jun 27, 2024

I have updated the test to also do range query and make sure returned histogram is not nil.
The failed test should be fixed by #6043

@yeya24 yeya24 force-pushed the native-histogram-e2e branch from 5f6e4c6 to d5f44c0 Compare July 1, 2024 16:43
@yeya24 yeya24 enabled auto-merge (squash) July 1, 2024 16:46
@yeya24 yeya24 merged commit 00a438c into cortexproject:master Jul 1, 2024
9 checks passed
@yeya24 yeya24 deleted the native-histogram-e2e branch July 1, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants