[Core] Allow customizing session name #46281
Labels
core
Issues that should be addressed in Ray Core
enhancement
Request for new feature and/or capability
P1
Issue that should be fixed within a few weeks
Description
Currently, the session name for a ray cluster is set to
session_{timestamp}_{pid}
(documentation), which is hard to retrieve/predict. We want to provide users the Grafana metrics for their KubeRay ray cluster, but we don't know what the SessionName label filter should be set to. If we can customize the session name as a command-line argument toray start
, we can generate a unique name and pass it to the Kuberay asRayStartParams
. Then, we can easily filter the prometheus metrics with this name.There is another thread for a similar request for a different reason: https://discuss.ray.io/t/how-to-change-the-ray-session-name-format/9217
Use case
Another solution to our use case is to have the KubeRay operator find this session name and surface it to the RayCluster CRD. If this is preferred, I can open an issue in the KubeRay repo.
The text was updated successfully, but these errors were encountered: