You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Yang LI <ya...@gmail.com> on 2024/01/18 10:20:02 UTC
Flink autoscaler scaling report
Hello dear flink community,
I noticed that there's a scaling report feature (specifically, the strings
defined in AutoscalerEventHandler) in the Flink operator autoscaler.
However, I'm unable to find this information in the Flink operator logs.
Could anyone guide me on how to access or visualize this scaling report?
Thanks,
Yang
Re: Flink autoscaler scaling report
Posted by Yu Chen <yu...@gmail.com>.
Hi Yang,
You can run `StandaloneAutoscalerEntrypoint`, and the scale report will print in log (info level) by LoggingEventHandler[2].
[1] flink-kubernetes-operator/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerEntrypoint.java at main · apache/flink-kubernetes-operator (github.com) <https://github.com/apache/flink-kubernetes-operator/blob/main/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerEntrypoint.java>
[2] https://github.com/apache/flink-kubernetes-operator/blob/48df9d35ed55ae8bb513d9153e9f6f668da9e1c3/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/event/LoggingEventHandler.java#L43C18-L43C18
Best,
Yu Chen
> 2024年1月18日 18:20,Yang LI <ya...@gmail.com> 写道:
>
> Hello dear flink community,
>
> I noticed that there's a scaling report feature (specifically, the strings
> defined in AutoscalerEventHandler) in the Flink operator autoscaler.
> However, I'm unable to find this information in the Flink operator logs.
> Could anyone guide me on how to access or visualize this scaling report?
>
> Thanks,
> Yang
Re: Flink autoscaler scaling report
Posted by Yu Chen <yu...@gmail.com>.
Hi Yang,
You can run `StandaloneAutoscalerEntrypoint`, and the scale report will print in log (info level) by LoggingEventHandler[2].
[1] flink-kubernetes-operator/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerEntrypoint.java at main · apache/flink-kubernetes-operator (github.com) <https://github.com/apache/flink-kubernetes-operator/blob/main/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerEntrypoint.java>
[2] https://github.com/apache/flink-kubernetes-operator/blob/48df9d35ed55ae8bb513d9153e9f6f668da9e1c3/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/event/LoggingEventHandler.java#L43C18-L43C18
Best,
Yu Chen
> 2024年1月18日 18:20,Yang LI <ya...@gmail.com> 写道:
>
> Hello dear flink community,
>
> I noticed that there's a scaling report feature (specifically, the strings
> defined in AutoscalerEventHandler) in the Flink operator autoscaler.
> However, I'm unable to find this information in the Flink operator logs.
> Could anyone guide me on how to access or visualize this scaling report?
>
> Thanks,
> Yang