Skip to content

Add a histogram for cached value sizes. #1569

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

Merged
merged 2 commits into from
Aug 13, 2019
Merged

Conversation

tomwilkie
Copy link
Contributor

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

@tomwilkie tomwilkie requested a review from gouthamve August 9, 2019 13:55
@tomwilkie tomwilkie force-pushed the cached-value-sizes branch from 4b31383 to 15d7297 Compare August 9, 2019 13:56
@tomwilkie tomwilkie merged commit a3eaf06 into master Aug 13, 2019
@tomwilkie tomwilkie deleted the cached-value-sizes branch August 13, 2019 09:15
@@ -108,6 +108,7 @@ type decodeResponse struct {

// NewChunkFetcher makes a new ChunkFetcher.
func NewChunkFetcher(cfg cache.Config, cacheStubs bool, storage ObjectClient) (*Fetcher, error) {
cfg.Prefix = "chunks"
Copy link
Contributor

Choose a reason for hiding this comment

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

This has the effect that the name label in cortex_cache_hits changes from "memcache" to "chunksmemcache".
Which is a (minor) breaking change that should go in the changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants