feat(observability): traces end-to-end (gateway + UI panel)#5381
Draft
Ma77Ball wants to merge 91 commits into
Draft
feat(observability): traces end-to-end (gateway + UI panel)#5381Ma77Ball wants to merge 91 commits into
Ma77Ball wants to merge 91 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>
… 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>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5381 +/- ##
============================================
+ Coverage 52.87% 53.23% +0.35%
- Complexity 2509 2665 +156
============================================
Files 1073 1120 +47
Lines 41382 43894 +2512
Branches 4444 4864 +420
============================================
+ Hits 21882 23368 +1486
- Misses 18214 19133 +919
- Partials 1286 1393 +107
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…e and shell (pr4)
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🟢 | bs=10 sw=10 sl=64 | 395 | 0.241 | 25,389/33,397/33,397 us | 🟢 -39.7% / 🔴 +6.7% |
| ⚪ | bs=100 sw=10 sl=64 | 813 | 0.496 | 121,606/150,711/150,711 us | ⚪ within ±5% / 🔴 -8.9% |
| 🔴 | bs=1000 sw=10 sl=64 | 921 | 0.562 | 1,081,066/1,180,232/1,180,232 us | 🔴 +6.1% / 🔴 +15.4% |
Baseline details
Latest main b8859b4 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 395 tuples/sec | 365 tuples/sec | 410.82 tuples/sec | +8.2% | -3.9% |
| bs=10 sw=10 sl=64 | MB/s | 0.241 MB/s | 0.223 MB/s | 0.251 MB/s | +8.1% | -3.9% |
| bs=10 sw=10 sl=64 | p50 | 25,389 us | 25,990 us | 23,785 us | -2.3% | +6.7% |
| bs=10 sw=10 sl=64 | p95 | 33,397 us | 55,369 us | 34,980 us | -39.7% | -4.5% |
| bs=10 sw=10 sl=64 | p99 | 33,397 us | 55,369 us | 34,980 us | -39.7% | -4.5% |
| bs=100 sw=10 sl=64 | throughput | 813 tuples/sec | 824 tuples/sec | 891.94 tuples/sec | -1.3% | -8.9% |
| bs=100 sw=10 sl=64 | MB/s | 0.496 MB/s | 0.503 MB/s | 0.544 MB/s | -1.4% | -8.9% |
| bs=100 sw=10 sl=64 | p50 | 121,606 us | 121,100 us | 112,277 us | +0.4% | +8.3% |
| bs=100 sw=10 sl=64 | p95 | 150,711 us | 151,756 us | 139,802 us | -0.7% | +7.8% |
| bs=100 sw=10 sl=64 | p99 | 150,711 us | 151,756 us | 139,802 us | -0.7% | +7.8% |
| bs=1000 sw=10 sl=64 | throughput | 921 tuples/sec | 932 tuples/sec | 1,041 tuples/sec | -1.2% | -11.5% |
| bs=1000 sw=10 sl=64 | MB/s | 0.562 MB/s | 0.569 MB/s | 0.635 MB/s | -1.2% | -11.6% |
| bs=1000 sw=10 sl=64 | p50 | 1,081,066 us | 1,071,888 us | 972,714 us | +0.9% | +11.1% |
| bs=1000 sw=10 sl=64 | p95 | 1,180,232 us | 1,111,871 us | 1,023,057 us | +6.1% | +15.4% |
| bs=1000 sw=10 sl=64 | p99 | 1,180,232 us | 1,111,871 us | 1,023,057 us | +6.1% | +15.4% |
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,505.74,200,128000,395,0.241,25388.97,33397.08,33397.08
1,100,10,64,20,2459.70,2000,1280000,813,0.496,121606.05,150710.68,150710.68
2,1000,10,64,20,21710.01,20000,12800000,921,0.562,1081065.92,1180232.09,1180232.09… obs/pr2/backend-emit
…o obs/pr3/deployment
…obs/pr4/gateway-core
…and fixed comment on button reference
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?
Distributed-trace retrieval through the gateway plus a trace-tree UI panel.
Backend:
parseTraces.TracesResourceexposing trace retrieval by id, with id validation and scope enforcement at the gateway.Frontend:
Any related issues, documentation, or discussions?
Closes: #5373
Part of #4070. Stacked on #5380.
How was this PR tested?
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