Skip to content

Perfetto style trace generation#231

Merged
azat merged 3 commits intomainfrom
perfetto-v3
Mar 28, 2026
Merged

Perfetto style trace generation#231
azat merged 3 commits intomainfrom
perfetto-v3

Conversation

@azat
Copy link
Copy Markdown
Owner

@azat azat commented Mar 28, 2026

Initial implementation by @UnamedRus (huge thanks for the idea and the implementation) - #136

Perfetto is an open-source suite of SDKs, daemons and tools which use tracing to help developers understand the behaviour of the complex systems and root-cause functional and performance issues on client / embedded systems.

Details:

  • does not include any autogenerated code (as [Draft] Add perfetto style trace generation #136 does)
  • includes Memory/CPU/Real traces from trace_log
  • includes ProfileEvents (via trace_profile_events)
  • includes query_thread_log
  • includes opentelemetry
  • includes part_log for INSERTs
  • include query logs (system.text_log)
  • includes query_metric_log - though better to use ProfileEvents

azat and others added 3 commits March 28, 2026 21:02
Export query timeline data as binary protobuf traces viewable in
ui.perfetto.dev. Fetches from multiple system tables (opentelemetry_span_log,
trace_log, query_metric_log, part_log, query_thread_log) with graceful
degradation when tables don't exist. HTTP server on port 9001 starts lazily
on first export.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@azat azat merged commit bc50c1e into main Mar 28, 2026
8 checks passed
@azat azat deleted the perfetto-v3 branch March 28, 2026 20:21
@azat
Copy link
Copy Markdown
Owner Author

azat commented Mar 28, 2026

@UnamedRus I would be grateful if you can take a look!

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