You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhangshenghang (via GitHub)" <gi...@apache.org> on 2026/02/07 11:46:15 UTC

[I] [Feature][Core] Zeta Engine Link Monitoring [seatunnel]

zhangshenghang opened a new issue, #10463:
URL: https://github.com/apache/seatunnel/issues/10463

   ### Search before asking
   
   - [x] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
   
   
   ### Description
   
   ## Background
   Currently, when a job is running, it is difficult to quickly determine "where it is slowing down/where there is congestion/whether it is being held back by downstream processes". Troubleshooting often relies only on logs or experience.
   
   ## What needs to be achieved
   Provide real-time operation indicators and trends on the job running page to visually display three types of information:
   1) Whether the link is being slowed down by downstream processes (whether upstream sending often needs to wait)
   2) Whether the intermediate buffer is congested (whether it is nearly full, whether it is repeatedly full)
   3) Whether operators in each stage are slowing down (busyness/idleness of reading/processing/writing and time consumption per unit of data)
   
   ## Which indicators to look at
   
   Link side: Proportion of downstream waiting time; Buffer occupancy (occupancy ratio + occupancy/capacity); Auxiliary information such as waiting duration
   Node side:
   Source: Reading ratio, idle ratio
   Transform: Busy ratio, average processing time (per record), input volume/output volume
   Sink: Busy ratio, average writing time (per record), writing volume, and time consumption of submission-related stages
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][Core] Support monitoring the busyness level of Zeta engine tasks [seatunnel]

Posted by "zhangshenghang (via GitHub)" <gi...@apache.org>.
zhangshenghang closed issue #10463: [Feature][Core] Support monitoring the busyness level of Zeta engine tasks
URL: https://github.com/apache/seatunnel/issues/10463


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][Core] Support monitoring the busyness level of Zeta engine tasks [seatunnel]

Posted by "DanielCarter-stack (via GitHub)" <gi...@apache.org>.
DanielCarter-stack commented on issue #10463:
URL: https://github.com/apache/seatunnel/issues/10463#issuecomment-3864491332

   <!-- code-pr-reviewer -->
   Thanks for the proposal! This feature doesn't exist in the `dev` branch.
   
   **Current state:**
   - Metrics in `MetricNames.java` focus on throughput (QPS, bytes) and cumulative counts
   - `BaseService.getJobMetrics()` returns basic aggregated metrics without task busyness ratios or wait time breakdowns
   - `IntermediateDisruptor` (buffer size: 1024) doesn't expose occupancy rate or wait time metrics
   - Web UI docs lack the busyness visualization panels
   
   **Implementation suggestions:**
   1. Add new metric constants in `MetricNames.java` (e.g., `SOURCE_BUSY_RATIO`, `SINK_WAIT_TIME_NS`, `BUFFER_OCCUPANCY_RATIO`)
   2. Track execution time breakdowns in `ConnectorMetricsCalcContext` using `System.nanoTime()`
   3. Expose buffer occupancy statistics in `IntermediateQueue` implementations
   4. Extend `BaseService.getJobMetrics()` to include new metric types while maintaining backward compatibility
   
   **Questions:**
   1. How should the time window for busyness calculation be configured (rolling 1s/5s vs. since job start)?
   2. Should these time-based metrics be configurable due to potential performance overhead?
   3. Will the API response format be backward-compatible with existing clients?


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][Core] Support monitoring the busyness level of Zeta engine tasks [seatunnel]

Posted by "zhangshenghang (via GitHub)" <gi...@apache.org>.
zhangshenghang commented on issue #10463:
URL: https://github.com/apache/seatunnel/issues/10463#issuecomment-3864364773

   This feature will complement #10434 to complete the overall engine performance monitoring


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][Core] Support monitoring the busyness level of Zeta engine tasks [seatunnel]

Posted by "chl-wxp (via GitHub)" <gi...@apache.org>.
chl-wxp commented on issue #10463:
URL: https://github.com/apache/seatunnel/issues/10463#issuecomment-3869824315

   good job


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org