Skip to content

Conversation

@daiping8
Copy link
Contributor

@daiping8 daiping8 commented Oct 18, 2025

Description

Now, we hava custom autoscaling policy name in logs.

  1. Deployment level
    Test code from https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#custom-policy-for-deployment
image
  1. Application level
    Test code from https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#application-level-autoscaling
image

Related issues

Closes #57846

Additional information

…ions.

Change-Id: I0ba11bdb5e07c30f23a596dfd081bffbbe4beac5
Signed-off-by: daiping8 <dai.ping88@zte.com.cn>
@daiping8 daiping8 requested a review from a team as a code owner October 18, 2025 08:31
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds logging to indicate when a custom autoscaling policy is being used, both at the deployment and application level. This is a good improvement for observability. My review includes a suggestion to improve the log message format for consistency and a recommendation to add unit tests to verify the new logging behavior.

@ray-gardener ray-gardener bot added serve Ray Serve Related Issue community-contribution Contributed by the community labels Oct 18, 2025
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Oct 19, 2025
@abrarsheikh abrarsheikh merged commit bb23296 into ray-project:master Oct 27, 2025
6 checks passed
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…ect#57878)

## Description
Now, we hava custom autoscaling policy name in logs.

1. Deployment level
Test code from
https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#custom-policy-for-deployment
<img width="1333" height="294" alt="image"
src="https://github.com/user-attachments/assets/bd26e576-fd3c-489b-94c2-4c11b25bb400"
/>


2. Application level 
Test code from
https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#application-level-autoscaling
<img width="1321" height="431" alt="image"
src="https://github.com/user-attachments/assets/d51f4952-faf5-47eb-80d0-6be357437505"
/>


## Related issues
Closes ray-project#57846

## Additional information

Signed-off-by: daiping8 <dai.ping88@zte.com.cn>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…ect#57878)

## Description
Now, we hava custom autoscaling policy name in logs.

1. Deployment level
Test code from
https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#custom-policy-for-deployment
<img width="1333" height="294" alt="image"
src="https://github.com/user-attachments/assets/bd26e576-fd3c-489b-94c2-4c11b25bb400"
/>

2. Application level
Test code from
https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#application-level-autoscaling
<img width="1321" height="431" alt="image"
src="https://github.com/user-attachments/assets/d51f4952-faf5-47eb-80d0-6be357437505"
/>

## Related issues
Closes ray-project#57846

## Additional information

Signed-off-by: daiping8 <dai.ping88@zte.com.cn>
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
Future-Outlier pushed a commit to Future-Outlier/ray that referenced this pull request Dec 7, 2025
…ect#57878)

## Description
Now, we hava custom autoscaling policy name in logs.

1. Deployment level
Test code from
https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#custom-policy-for-deployment
<img width="1333" height="294" alt="image"
src="https://github.com/user-attachments/assets/bd26e576-fd3c-489b-94c2-4c11b25bb400"
/>

2. Application level
Test code from
https://docs.ray.io/en/master/serve/advanced-guides/advanced-autoscaling.html#application-level-autoscaling
<img width="1321" height="431" alt="image"
src="https://github.com/user-attachments/assets/d51f4952-faf5-47eb-80d0-6be357437505"
/>

## Related issues
Closes ray-project#57846

## Additional information

Signed-off-by: daiping8 <dai.ping88@zte.com.cn>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community go add ONLY when ready to merge, run all tests serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Serve] include custom autoscaling policy name in logs

2 participants