Skip to content

feat/indexserver: report clone-cache usage and monorepo latency - #1163

Draft
keegancsmith wants to merge 1 commit into
mainfrom
k/git-cache-metrics
Draft

feat/indexserver: report clone-cache usage and monorepo latency#1163
keegancsmith wants to merge 1 commit into
mainfrom
k/git-cache-metrics

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

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.

Base automatically changed from k/cache-git-repo to main September 7, 2026 15:38
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>
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.

1 participant