Observe whether manifest cache is bypassed.

This commit is contained in:
Catherine
2025-11-17 04:34:17 +00:00
parent 91dc7e0c54
commit d88d97721a
+4 -1
View File
@@ -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()
}