mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-08-17 09:26:04 +00:00
Observe whether manifest cache is bypassed.
This commit is contained in:
+4
-1
@@ -331,7 +331,10 @@ func (backend *observedBackend) GetManifest(
|
||||
manifest *Manifest,
|
||||
err error,
|
||||
) {
|
||||
span, ctx := ObserveFunction(ctx, "GetManifest", "manifest.name", name)
|
||||
span, ctx := ObserveFunction(ctx, "GetManifest",
|
||||
"manifest.name", name,
|
||||
"manifest.bypass_cache", opts.BypassCache,
|
||||
)
|
||||
if manifest, err = backend.inner.GetManifest(ctx, name, opts); err == nil {
|
||||
manifestsRetrievedCount.Inc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user