You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (Jira)" <ji...@apache.org> on 2023/01/03 17:38:00 UTC

[jira] [Closed] (FLINK-30464) Metrics are collected in stabilization phase and do not always span a full metric window

     [ https://issues.apache.org/jira/browse/FLINK-30464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maximilian Michels closed FLINK-30464.
--------------------------------------
    Resolution: Fixed

> Metrics are collected in stabilization phase and do not always span a full metric window
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-30464
>                 URL: https://issues.apache.org/jira/browse/FLINK-30464
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>    Affects Versions: kubernetes-operator-1.4.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: kubernetes-operator-1.4.0
>
>
> The current code collects metrics as soon as the job goes into RUNNING mode, regardless of whether we are still in the stabilization period. This means the first metric collection window after rescaling will include metrics from the stabilization period which is not desired. The stabilization period is supposed to allow the job to stabilize and shouldn't be used to make new scaling decisions.
> Further, the collected metrics for the scaling decider initially do not span a full metric window. Only after the first metric window is complete, we are guaranteed to have a full windows available. This leads to short-sighted scaling decisions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)