Local metrics dump and rollup helpers (CL-5169) - #307
Merged
Conversation
TheGreatAxios
force-pushed
the
stack/w2a-cl-5171-auto-spans
branch
from
August 4, 2026 16:21
1eb6a74 to
ddb9c72
Compare
TheGreatAxios
force-pushed
the
stack/w3a-cl-5169-dump-rollup
branch
from
August 4, 2026 16:22
480fee5 to
be80788
Compare
TheGreatAxios
force-pushed
the
stack/w2a-cl-5171-auto-spans
branch
from
August 4, 2026 18:10
ddb9c72 to
c3442c6
Compare
TheGreatAxios
force-pushed
the
stack/w3a-cl-5169-dump-rollup
branch
from
August 4, 2026 18:10
e5c4bd5 to
0de33bb
Compare
TheGreatAxios
force-pushed
the
stack/w2a-cl-5171-auto-spans
branch
from
August 4, 2026 22:42
c3442c6 to
073d6de
Compare
TheGreatAxios
force-pushed
the
stack/w3a-cl-5169-dump-rollup
branch
from
August 4, 2026 22:44
0de33bb to
a5132c2
Compare
TheGreatAxios
changed the base branch from
stack/w2a-cl-5171-auto-spans
to
main
August 4, 2026 22:44
Pure rollup functions (by phase, by turn, session totals with TTFT vs stream split) over PerfSpan snapshots. dump.ts writes privacy-strict compact JSON beside session artifacts with a rollup section and re-sanitized tags. Fixture test asserts no non-allowlisted data leaks.
count is a tag key, not a StartOptions field — typecheck was failing.
TheGreatAxios
force-pushed
the
stack/w3a-cl-5169-dump-rollup
branch
from
August 4, 2026 22:48
a5132c2 to
b0471c9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack
PerfTrace stack 3b/8 — base:
stack/w2a-cl-5171-auto-spansLinear
https://linear.app/abklabs/issue/CL-5169/local-metrics-dump-and-rollup-helpers
Summary
Local PerfTrace dump (JSON) and rollup helpers (by phase, by turn, session totals). Offline-only path.
Test evidence
Merge note
Merge after CL-5171. Parallel with OTEL settings (3a).