Skip to content

Add per-server Perfetto tracks#233

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

Add per-server Perfetto tracks#233
azat merged 3 commits intomainfrom
perfetto-per-server

Conversation

@azat
Copy link
Copy Markdown
Owner

@azat azat commented Mar 28, 2026

When perfetto.per_server is enabled, each server's process track gets child tracks mirroring the global tracks (counters, threads, metrics, parts, OTel spans, logs). Default true.

Fixes: #232

azat and others added 3 commits March 28, 2026 22:30
When perfetto.per_server is enabled, each server's process track gets
child tracks mirroring the global tracks (counters, threads, metrics,
parts, OTel spans, logs). Default true.

Fixes: #232
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per-server tracks now mirror the global structure with intermediate
category tracks (Query Threads, Query Logs, ProfileEvent Counters, etc.)
under each server process track, instead of placing tracks directly
under the server.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add query_id to stack traces SQL and group samples by host, emitting
per-server StreamingProfilePacket sequences named "host: Type Samples".
Extracted emit_streaming_profile helper to avoid duplication.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@azat azat changed the title Add per-server Perfetto tracks behind config option Add per-server Perfetto tracks Mar 28, 2026
@azat azat merged commit 1860472 into main Mar 28, 2026
8 checks passed
@azat azat deleted the perfetto-per-server branch March 28, 2026 21:54
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.

Perfetto support improvements

1 participant