feat/indexserver: report clone-cache usage and monorepo latency - #1163
Draft
keegancsmith wants to merge 1 commit into
Draft
feat/indexserver: report clone-cache usage and monorepo latency#1163keegancsmith wants to merge 1 commit into
keegancsmith wants to merge 1 commit into
Conversation
keegancsmith
force-pushed
the
k/cache-git-repo
branch
from
September 5, 2026 13:21
1389710 to
7e340fd
Compare
Measure retained clone size outside Prometheus scrapes and log cold/reused fetches and eviction reasons so the benefit and storage cost are visible. Automatically name explicitly cached repositories in the existing latency histograms instead of requiring operators to maintain a duplicate allowlist. Amp-Thread-ID: https://ampcode.com/threads/T-01a0708f-ab4b-755c-86c7-4851324cec64 Co-authored-by: Amp <amp@ampcode.com>
keegancsmith
force-pushed
the
k/git-cache-metrics
branch
from
September 7, 2026 15:51
f42d594 to
d8de1e2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1162. Report aggregate clone-cache bytes/count and structured fetch/eviction events so storage growth and cold-versus-warm wall time are visible. Cached monorepos automatically get their names in the existing latency histograms; the manual allowlist still works.
The Sourcegraph companion adds dashboard panels and temporarily pins this commit. Land the Zoekt stack first, then repin Sourcegraph to the landed revisions.