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

Make log query results cacheable #4095

Closed
wants to merge 5 commits into from
Closed

Make log query results cacheable #4095

wants to merge 5 commits into from

Conversation

cstyan
Copy link
Contributor

@cstyan cstyan commented Aug 3, 2021

This PR aligns a queries time range to multiples of the split-by interval prior to splitting so that each intervals query result can be cached. Note that the first and last interval are later changed again to use the original start and end time of the query so that we're not.

Signed-off-by: Callum Styan callumstyan@gmail.com

to splitting so that each intervals query can be cached.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@CLAassistant
Copy link

CLAassistant commented Aug 3, 2021

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyan cstyan marked this pull request as ready for review August 6, 2021 21:07
@cstyan cstyan requested a review from a team as a code owner August 6, 2021 21:07
alignment logic into the splitter for that query type.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cyriltovena cyriltovena added the keepalive An issue or PR that will be kept alive and never marked as stale. label Sep 16, 2021
@cyriltovena
Copy link
Contributor

I'm still interested into this. Adding the keepalive tag.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyan
Copy link
Contributor Author

cstyan commented Sep 21, 2021

Drone build seems to be stuck and I don't have admin access for this repo.

@cstyan cstyan changed the title WIP: Make log query results cacheable Make log query results cacheable Sep 24, 2021
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@sandeepsukhani
Copy link
Contributor

I think we should do this for all query types. @cstyan do you mind if I push to your branch or open a new PR which would also cover your changes?

@kavirajk
Copy link
Collaborator

Closing this as no activities for long time. Feel free to send new PR if anyone want's to revive the work

@kavirajk kavirajk closed this Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keepalive An issue or PR that will be kept alive and never marked as stale. size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants