apache / apache/texera

[Observability] Continuous profiling: gateway endpoint and flame-graph panel

Open
#5,374 2 comments 0 reactions 1 assignee Claimed by @Ma77Ball View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### Feature Summary
The dashboard has no way to view continuous CPU/memory profiles for a workflow, so diagnosing hot paths and resource regressions requires external tooling. This adds scoped profile retrieval and a flame-graph view in the observability dashboard.
### Proposed Solution or Design
- Backend: a gRPC-Web client to the Parca server (`ParcaClient`) with a profiles query builder and `parseProfiles`; a `ProfilesResource` exposing scoped profile queries (optional workflow and execution id), registered in `TexeraWebApplication`.
- Frontend: a profiles panel with a flame-chart component, scoped by workflow and execution id, with explicit empty states for "no samples yet" and for environments where profiling is disabled.
### Affected Area
Workflow UI, Other
### Related
Part of #4070. Depends on #5373.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.