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

refactors splitby to not require buffered channels #1569

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

owen-d
Copy link
Member

@owen-d owen-d commented Jan 23, 2020

What

Refactors split by code to be more consistent with conventions. Now uses a packed response struct{error,resp} type and selects on context expiration rather than two buffered channels. This should make it a little more understandable/maintainable.

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

@slim-bean slim-bean merged commit 1269c92 into grafana:master Jan 23, 2020
cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
* Add a histrogram for cached value sizes.

Signed-off-by: Tom Wilkie <[email protected]>

* Set the name for the chunk cache metrics, so its not blank.

Signed-off-by: Tom Wilkie <[email protected]>
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.

3 participants