feat(observability): profiles end-to-end (gateway + UI panel)#5382
Draft
Ma77Ball wants to merge 195 commits into
Draft
feat(observability): profiles end-to-end (gateway + UI panel)#5382Ma77Ball wants to merge 195 commits into
Ma77Ball wants to merge 195 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>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5382 +/- ##
============================================
+ Coverage 54.89% 55.22% +0.32%
- Complexity 2962 2996 +34
============================================
Files 1117 1154 +37
Lines 43133 45602 +2469
Branches 4648 5098 +450
============================================
+ Hits 23680 25184 +1504
- Misses 18064 18898 +834
- Partials 1389 1520 +131
*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:
|
catch JSON/quoted creds, token=/api_key=/secret=, and JWTs (real leak gap). 2. ParcaClient — bounds-checked the protobuf parser (corrupt frame could OOM/crash) + reused one HttpClient. 3. Frontend — deduped 4 copy-pasted humanizeError functions into one shared util. 4. Profiles deep link — validate comm before building the Parca URL. 5. Stale comments — removed outdated coming soon notes;
Contributor
Automated Reviewer SuggestionsBased on the
|
… obs/pr1/foundations
…o obs/pr2/backend-emit
…obs/pr3/deployment
… obs/pr2/backend-emit
…o obs/pr3/deployment
…obs/pr4/gateway-core
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