Skip to content

Propagate trace metadata through TraceLens analyzers#643

Draft
ajassani wants to merge 3 commits into
mainfrom
ajassani/trace-index-unified-perf
Draft

Propagate trace metadata through TraceLens analyzers#643
ajassani wants to merge 3 commits into
mainfrom
ajassani/trace-index-unified-perf

Conversation

@ajassani
Copy link
Copy Markdown
Collaborator

@ajassani ajassani commented May 14, 2026

Summary

  • Preserve top-level trace JSON fields as trace-level metadata while keeping traceEvents as the event payload.
  • Expose metadata through TraceToTree and TreePerfAnalyzer for report consumers.
  • Keep metadata optional so direct synthetic-event construction remains backward compatible.

Test plan

  • python -m pytest tests/test_trace_metadata.py
  • python -m pytest tests/test_trace_metadata.py tests/test_kernel_launchers.py -q

ajassani and others added 2 commits May 14, 2026 16:02
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ajassani ajassani changed the title Document trace index design Propagate trace metadata through TraceLens analyzers May 14, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
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