You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can answer: what proportion of uploads achieve full multi-copy success — i.e. all requested copies stored (UploadResult.complete === true), not just per-copy attempt success.
Dashboards can slice golden-path success by affordance, network, requestedCopies, and (optionally) upload size.
Why Important
#363 / #501 added per-copy metrics (uploadCopyStatus, uploadCopySize) that answer:
Of all copy attempts, what fraction succeeded?
That is useful for SP/step regressions, but it does not answer the ORR golden-path question:
Of uploads that requested N copies, what fraction got all N?
Per-copy metrics can be skewed by uploads that request only one copy, or by uploads that request many copies (each failed copy adds weight). See PR #501 review discussion.
User/Customer
Maintainers / FOC working group
Proposed direction (draft — refine in events-and-metrics.md)
Emit one metric per executeUpload call (upload-level, not copy-level), e.g.:
Alternative from #363 discussion: a multicopy tag (true/false/unknown) on upload-level metrics so dashboards can filter to multicopy=true uploads only.
Relationship to existing metrics: keep uploadCopyStatus / uploadCopySize for per-SP/per-step diagnostics; add upload-level metric(s) for golden-path rate. They complement each other.
Notes
Blocked by / follows:#501 (telemetry plumbing, BetterStack ingestion, affordance tag).
Done Criteria
UploadResult.complete === true), not just per-copy attempt success.documentation/events-and-metrics.mdbefore implementation (same doc-first pattern as #363).affordance,network,requestedCopies, and (optionally) upload size.Why Important
#363 / #501 added per-copy metrics (
uploadCopyStatus,uploadCopySize) that answer:That is useful for SP/step regressions, but it does not answer the ORR golden-path question:
Per-copy metrics can be skewed by uploads that request only one copy, or by uploads that request many copies (each failed copy adds weight). See PR #501 review discussion.
User/Customer
Maintainers / FOC working group
Proposed direction (draft — refine in events-and-metrics.md)
Emit one metric per
executeUploadcall (upload-level, not copy-level), e.g.:uploadComplete(counter)executeUploadreturnscomplete(true/false),requestedCopies,achievedCopies,network,affordance, optionallysizebucket or paired gaugeAlternative from #363 discussion: a
multicopytag (true/false/unknown) on upload-level metrics so dashboards can filter tomulticopy=trueuploads only.Relationship to existing metrics: keep
uploadCopyStatus/uploadCopySizefor per-SP/per-step diagnostics; add upload-level metric(s) for golden-path rate. They complement each other.Notes
uploadResultReceivedor adduploadGoldenPathResolved) so metrics stay tied to documented events.completeshould mirror Synapse's definition exactly (copies.length >= requestedCopies) vs. a stricter Filecoin Pin interpretation.sum(uploadComplete where complete=true) / sum(uploadComplete)filtered bymulticopy=trueand/orrequestedCopies>=2.