Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Yicheng-Lu-llll <[email protected]>
  • Loading branch information
Yicheng-Lu-llll committed Aug 15, 2023
1 parent 89e6777 commit d93af34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/guidance/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ curl --request GET '<baseUrl>/apis/v1alpha2/namespaces/<namespace>/clusters/<ray

## Ray Cluster: Monitoring with Prometheus & Grafana

See [prometheus-grafana.md](./prometheus-grafana.md) for more details.
See [prometheus-grafana.md](./prometheus-grafana.md) for more details.

## Profiling with KubeRay

See [profiling.md](./profiling.md) for more details.
4 changes: 2 additions & 2 deletions docs/guidance/profiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ securityContext:
6. **Profile using Ray Dashboard**:
- Visit http://localhost:8265/#/cluster.
- Click `Stack Trace` for `ray::long_running_task`.
<img width="1728" alt="StackTrace" src="../images/stack_trace.png">
![StackTrace](../images/stack_trace.png)
- Click `CPU Flame Graph` for `ray::long_running_task`.
<img width="1728" alt="FlameGraph" src="../images/cpu_flame_graph.png">
![FlameGraph](../images/cpu_flame_graph.png)
- For additional details on using the profiler, refer the [Ray Observability Guide](https://docs.ray.io/en/latest/ray-observability/user-guides/debug-apps/optimize-performance.html#python-cpu-profiling-in-the-dashboard).
7. **Clean up the RayCluster**:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ nav:
- Monitoring and Observability:
- Observability: guidance/observability.md
- Prometheus and Grafana: guidance/prometheus-grafana.md
- Profiling: guidance/profiling.md
- Security:
- IAM Roles (AWS EKS): guidance/aws-eks-iam.md
- Pod Security: guidance/pod-security.md
Expand Down

0 comments on commit d93af34

Please sign in to comment.