feat(observability): profiles end-to-end (gateway + UI panel)#5382
Draft
Ma77Ball wants to merge 109 commits into
Draft
feat(observability): profiles end-to-end (gateway + UI panel)#5382Ma77Ball wants to merge 109 commits into
Ma77Ball wants to merge 109 commits into
Conversation
…, SDK bootstrap (default-off) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…s panel Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…nt scope, health, routing) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ca/eBPF profiling Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…tracing primitives Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…I flame-graph panel Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… trace tree panel Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…UI metrics panel (ECharts) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🟢 | bs=10 sw=10 sl=64 | 397 | 0.242 | 24,868/34,503/34,503 us | 🟢 -53.3% / ⚪ within ±5% |
| 🔴 | bs=100 sw=10 sl=64 | 950 | 0.58 | 104,592/134,607/134,607 us | 🔴 +21.4% / 🟢 -6.8% |
| ⚪ | bs=1000 sw=10 sl=64 | 1,125 | 0.687 | 887,141/940,604/940,604 us | ⚪ within ±5% / 🟢 -8.8% |
Baseline details
Latest main dfa0434 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 397 tuples/sec | 363 tuples/sec | 410.82 tuples/sec | +9.4% | -3.4% |
| bs=10 sw=10 sl=64 | MB/s | 0.242 MB/s | 0.222 MB/s | 0.251 MB/s | +9.0% | -3.5% |
| bs=10 sw=10 sl=64 | p50 | 24,868 us | 24,354 us | 23,785 us | +2.1% | +4.6% |
| bs=10 sw=10 sl=64 | p95 | 34,503 us | 73,948 us | 34,980 us | -53.3% | -1.4% |
| bs=10 sw=10 sl=64 | p99 | 34,503 us | 73,948 us | 34,980 us | -53.3% | -1.4% |
| bs=100 sw=10 sl=64 | throughput | 950 tuples/sec | 993 tuples/sec | 891.94 tuples/sec | -4.3% | +6.5% |
| bs=100 sw=10 sl=64 | MB/s | 0.58 MB/s | 0.606 MB/s | 0.544 MB/s | -4.3% | +6.5% |
| bs=100 sw=10 sl=64 | p50 | 104,592 us | 100,961 us | 112,277 us | +3.6% | -6.8% |
| bs=100 sw=10 sl=64 | p95 | 134,607 us | 110,878 us | 139,802 us | +21.4% | -3.7% |
| bs=100 sw=10 sl=64 | p99 | 134,607 us | 110,878 us | 139,802 us | +21.4% | -3.7% |
| bs=1000 sw=10 sl=64 | throughput | 1,125 tuples/sec | 1,131 tuples/sec | 1,041 tuples/sec | -0.5% | +8.1% |
| bs=1000 sw=10 sl=64 | MB/s | 0.687 MB/s | 0.69 MB/s | 0.635 MB/s | -0.4% | +8.1% |
| bs=1000 sw=10 sl=64 | p50 | 887,141 us | 896,307 us | 972,714 us | -1.0% | -8.8% |
| bs=1000 sw=10 sl=64 | p95 | 940,604 us | 939,985 us | 1,023,057 us | +0.1% | -8.1% |
| bs=1000 sw=10 sl=64 | p99 | 940,604 us | 939,985 us | 1,023,057 us | +0.1% | -8.1% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,503.91,200,128000,397,0.242,24867.98,34503.38,34503.38
1,100,10,64,20,2105.09,2000,1280000,950,0.580,104591.60,134607.09,134607.09
2,1000,10,64,20,17777.18,20000,12800000,1125,0.687,887140.75,940604.30,940604.30… obs/pr2/backend-emit
…o obs/pr3/deployment
…obs/pr4/gateway-core
…and fixed comment on button reference
ResponseParsersSpec (fresh-build compile failure)
ResponseParsersSpec (fresh-build compile failure)
… obs/pr2/backend-emit
…o obs/pr3/deployment
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.
What changes were proposed in this PR?
Continuous-profiling retrieval through the gateway plus a flame-graph UI panel.
Backend:
ParcaClient: gRPC-Web client to the Parca server, with a profiles query builder andparseProfiles.ProfilesResourceexposing scoped profile queries (optional workflow and execution id), registered inTexeraWebApplication.Frontend:
Any related issues, documentation, or discussions?
Closes: #5374
Part of #4070. Stacked on #5381.
How was this PR tested?
ParcaClient, the profiles query builder, and the parser;sbt scalafmtCheckAllpasses.prettier-eslintandeslintpass.Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF