zhang-arvin opened a new pull request, #11898:
URL: https://github.com/apache/seatunnel/pull/11898

   ## Purpose
   
   Add a live-updating metrics chart to the Zeta engine job detail page, 
replacing the raw time-series table in the node/edge drawer with an interactive 
line chart and allowing users to pin metrics for side-by-side comparison.
   
   Closes #11666
   
   ## Changes
   
   - Add Apache ECharts (Apache-2.0 license) as a charting library in 
seatunnel-engine-ui
   - Create LiveMetricsChart component with time-series line chart rendering 
(tooltip, legend, auto-resize)
   - Add usePinnedMetrics composable for session-scoped pin management (max 6 
pins, deduplication, clear on unmount)
   - Add pin panel between DAG and summary table showing pinned series with a 
live chart
   - Enhance drawer with a live chart above the existing series table, keeping 
the key-field summary above the divider
   - Add Pin buttons in the drawer for each available metric
   - Reuse existing 2s polling of /metrics/realtime endpoints - no extra 
requests per pin
   - Update en_US and zh_CN locale files with pinned metrics translations
   
   ## Design Decisions
   
   - Chart library: Apache ECharts (Apache-2.0, ASF-compatible)
   - Pin lifecycle: Session-scoped only (current Job Detail visit). Cleared on 
component unmount
   - Pin limit: 6 series max, with a clear message when the limit is reached
   - Polling: No additional polling - pinned series consume the same response 
data from the existing Overview 2s poll
   - Chart vs table: V1 adds the chart above the existing table in the drawer, 
keeping both views available


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to