Checking the Flow Insight View
The Ray Dashboard provides fundamental cluster monitoring. However, in distributed AI workloads, tracking job execution, optimizing resource utilization, and troubleshooting cross-node logs present operational challenges. Integrating Ray with Flow Insight gives you access to the logical view, physical view, distributed stack, flame graph, and Gantt chart on the Web UI. These views let you analyze jobs from multiple angles, optimize performance, and troubleshoot issues and use resources more efficiently.
Prerequisites
- A Ray job has been submitted.
- The History Server has been enabled. For details, see Enabling the History Server.
Enabling or Disabling Flow Insight
Enabling Flow Insight restarts the endpoint and stops all running jobs. Perform this operation during off-peak hours to minimize disruption.
- Log in to the AI DataLake console.
- In the upper left corner of the page, select the target workspace.
- In the left navigation pane, choose Engine Endpoints > Ray. The Ray engine endpoint list appears.
- Click an endpoint display name to access its Overview page.
- In the Basic Information area, turn on or off the
toggle for Flow Insight to enable or disable Flow Insight.
Procedure
Enabling Flow Insight gives you access to the logical view, physical view, distributed stack, flame graph, and Gantt chart on the Web UI. These views let you analyze jobs from multiple angles, optimize performance, and troubleshoot issues and use resources more efficiently.
- Log in to the AI DataLake console.
- In the upper left corner of the page, select the target workspace.
- Go to the Job Run History page.
- Method 1: Via the job run history page.
In the left navigation pane, choose Job Development > Job Run History, and click the Ray tab.
- Method 2: Via the endpoint details page.
In the left navigation pane, choose Engine Endpoints > Ray. In the endpoint list, click the endpoint name to open the overview page, then click the Job Run History tab.
- Method 1: Via the job run history page.
- In the Operation column of the target job, click Web UI to go to the Ray Dashboard page.
- On the Jobs tab, locate a running job and click Insight in the Actions column to open the Flow Insight page.
- On the Flow Insight page, you can view the available views as needed.
- Logical View: Displays the call relationships and data dependencies between components, helping you understand the system topology.
- Physical View: Displays the distribution and resource usage of components across nodes, helping you optimize deployment policies.
- Distributed Stack: Provides cross-node call chain tracing to quickly locate execution bottlenecks.
- Distributed Flame Graph: Visualizes performance hotspots across the system to help you locate performance bottlenecks.
- Gantt Chart: Displays the execution timeline of functions and actors.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot