Add server-wide Perfetto export (all activity in time range)#239
Merged
Conversation
Follows the same pattern as ServerFlameGraph: a global action accessible via Ctrl+P/F8 that exports all server activity within the configured time range without requiring query selection. The _for_perfetto SQL methods now accept optional query_id filtering (None = all queries). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add 10 new system table sources for server-wide Perfetto traces: metric_log, asynchronous_metric_log, asynchronous_insert_log, error_log, s3queue_log, azure_queue_log, blob_storage_log, background_schedule_pool_log, session_log, aggregated_zookeeper_log. Split the worker's perfetto helper into fetch_and_populate (query-scoped), fetch_server_perfetto_sources (server-only), and serve_perfetto_trace. Split settings UI into "Perfetto (query)" and "Perfetto (server)" groups. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
For ~2min it takes 1.5GiB, so pretty heavy, but you can disable few sources and it will be more lightweight |
- Fix error_log query: use `error` (not `name`) and `event_time` DateTime (not `event_time_microseconds` DateTime64), matching actual table schema. - Add a time range dialog when invoking Server Perfetto Export, pre-filled with current view start/end. Includes a warning that server-wide export is heavy (~1.5 GiB/server for 2 min of data) so users should reduce the time range accordingly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Follows the same pattern as ServerFlameGraph: a global action accessible via Ctrl+P/F8 that exports all server activity within the configured time range without requiring query selection.
Fixes: #238