Skip to content

Expose measured run and step samples in span queries - #218

Merged
jantimon merged 1 commit into
mainfrom
feat/span-timing-samples
Sep 6, 2026
Merged

Expose measured run and step samples in span queries#218
jantimon merged 1 commit into
mainfrom
feat/span-timing-samples

Conversation

@jantimon

@jantimon jantimon commented Sep 6, 2026

Copy link
Copy Markdown
Owner

query span --format json|toon exposes recorded run and driver-step samples through a typed timing block. Consumers can read the sample series and its statistics without confusing the profiled window with a measured call or step duration.

The block names the sample unit, boundary, and clock. Missing samples stay null; each run-group member keeps its own series. The compact query spans overview stays unchanged.

Includes the public SpanTiming export, documentation, and a minor changeset.

Validation: 767 unit tests, 6 measurement tests, TypeScript build, lint, formatting, and unused-code checks pass. Tests cover JSON and TOON, different sample and profile durations, unavailable samples, group provenance, and a real Node record-to-query flow.

@jantimon
jantimon merged commit f230801 into main Sep 6, 2026
4 checks passed
@jantimon
jantimon deleted the feat/span-timing-samples branch September 6, 2026 13:23
@github-actions github-actions Bot mentioned this pull request Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant