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.
Structs§
Enums§
- LfsResult
- The
resultlabel onlfs_objects_total. - Request
Kind - The
kindlabel onrequests_total: which client endpoint served the request. - Serve
Kind - The
kindlabel onserve_duration_seconds. - Status
- The
resultlabel onrequests_total/upstream_ops_total. - Upstream
Op - The
oplabel onupstream_ops_total/upstream_duration_seconds.