Expand description
Prometheus metrics.
Cardinality note: both requests_total and upstream_ops_total carry a
repo label so operators can see per-repo traffic and totals
(sum without (repo) (...)). To keep the label set bounded, the real repo
name is emitted only for operations that succeeded (a served request, a
completed clone/fetch); every failure - failed auth, malformed path,
upstream error, a resolved-but-nonexistent repo - uses a - sentinel. The
set of successfully served repos is bounded (the repos the fleet actually
clones), so a flood of distinct but doomed repo paths cannot inflate the
series count.