feat(observability): query gateway core + dashboard shell#5378
Draft
Ma77Ball wants to merge 50 commits into
Draft
feat(observability): query gateway core + dashboard shell#5378Ma77Ball wants to merge 50 commits into
Ma77Ball wants to merge 50 commits into
Conversation
…, SDK bootstrap (default-off) 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>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5378 +/- ##
============================================
+ Coverage 53.17% 53.22% +0.04%
- Complexity 2660 2697 +37
============================================
Files 1094 1117 +23
Lines 42363 43256 +893
Branches 4556 4717 +161
============================================
+ Hits 22528 23022 +494
- Misses 18507 18858 +351
- Partials 1328 1376 +48
*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 | 387 | 0.236 | 25,044/38,420/38,420 us | 🔴 +13.1% / 🔴 +9.8% |
| 🟢 | bs=100 sw=10 sl=64 | 967 | 0.59 | 102,719/118,095/118,095 us | 🟢 -10.6% / 🟢 -15.5% |
| ⚪ | bs=1000 sw=10 sl=64 | 1,111 | 0.678 | 900,949/944,001/944,001 us | ⚪ within ±5% / 🟢 -7.7% |
Baseline details
Latest main 5869492 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 387 tuples/sec | 417 tuples/sec | 410.82 tuples/sec | -7.2% | -5.8% |
| bs=10 sw=10 sl=64 | MB/s | 0.236 MB/s | 0.254 MB/s | 0.251 MB/s | -7.1% | -5.9% |
| bs=10 sw=10 sl=64 | p50 | 25,044 us | 22,947 us | 23,785 us | +9.1% | +5.3% |
| bs=10 sw=10 sl=64 | p95 | 38,420 us | 33,956 us | 34,980 us | +13.1% | +9.8% |
| bs=10 sw=10 sl=64 | p99 | 38,420 us | 33,956 us | 34,980 us | +13.1% | +9.8% |
| bs=100 sw=10 sl=64 | throughput | 967 tuples/sec | 954 tuples/sec | 891.94 tuples/sec | +1.4% | +8.4% |
| bs=100 sw=10 sl=64 | MB/s | 0.59 MB/s | 0.582 MB/s | 0.544 MB/s | +1.4% | +8.4% |
| bs=100 sw=10 sl=64 | p50 | 102,719 us | 103,873 us | 112,277 us | -1.1% | -8.5% |
| bs=100 sw=10 sl=64 | p95 | 118,095 us | 132,080 us | 139,802 us | -10.6% | -15.5% |
| bs=100 sw=10 sl=64 | p99 | 118,095 us | 132,080 us | 139,802 us | -10.6% | -15.5% |
| bs=1000 sw=10 sl=64 | throughput | 1,111 tuples/sec | 1,118 tuples/sec | 1,041 tuples/sec | -0.6% | +6.7% |
| bs=1000 sw=10 sl=64 | MB/s | 0.678 MB/s | 0.683 MB/s | 0.635 MB/s | -0.7% | +6.7% |
| bs=1000 sw=10 sl=64 | p50 | 900,949 us | 899,927 us | 972,714 us | +0.1% | -7.4% |
| bs=1000 sw=10 sl=64 | p95 | 944,001 us | 930,096 us | 1,023,057 us | +1.5% | -7.7% |
| bs=1000 sw=10 sl=64 | p99 | 944,001 us | 930,096 us | 1,023,057 us | +1.5% | -7.7% |
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,516.21,200,128000,387,0.236,25044.44,38419.84,38419.84
1,100,10,64,20,2067.54,2000,1280000,967,0.590,102719.18,118094.86,118094.86
2,1000,10,64,20,17994.38,20000,12800000,1111,0.678,900948.57,944000.53,944000.53… obs/pr2/backend-emit
…o obs/pr3/deployment
…obs/pr4/gateway-core
… 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?
Introduces the tenant-scoped read path the dashboard queries, plus the Angular shell that hosts the per-signal panels. This PR warrants the closest review: it enforces tenancy and rate limiting and is the first user-visible surface.
Backend:
BackendClient: HTTP client to the telemetry backends.ScopeResolver: derives the caller's tenant scope and constrains every query to it.RateLimiter,AuditLogger,GatewayContext: per-request rate limiting, audit logging, and shared request context.dtos.scala: typed request objects with validators (time window, page size, free text, service name).ObservabilityResourceswith the/observability/healthendpoint, registered inTexeraWebApplication.RequestContextMdcFilterandUserContextMdcFilter: inject request and user context into the logging MDC.ObservabilityGatewayConfigand its configuration file.Frontend:
observability.service,observability.types, and thetraces-pivot.service.Any related issues, documentation, or discussions?
Closes: #5370
Part of #4070. Stacked on #5377.
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