You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Daniel Rossos (Jira)" <ji...@apache.org> on 2025/12/05 16:22:00 UTC

[jira] [Created] (FLINK-38787) Add Metrics for FlinkBlueGreenDeployment resources

Daniel Rossos created FLINK-38787:
-------------------------------------

             Summary: Add Metrics for FlinkBlueGreenDeployment resources 
                 Key: FLINK-38787
                 URL: https://issues.apache.org/jira/browse/FLINK-38787
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
            Reporter: Daniel Rossos


Currently, the Kubernetes Operator exports specialized metrics for FlinkDeployment and FlinkSessionJob resources (via FlinkDeploymentMetrics and FlinkSessionJobMetrics respectively). However, the new FlinkBlueGreenDeployment resources do not yet export equivalent metrics. 

To ensure consistent observability across all CRDs, we should include metrics for FlinkBlueGreenDeployments that aligns with the existing patterns.

Exact list of what metrics should be included can be discussed, but proposed initial list of FlinkBlueGreenDeployment metrics could include:
 * {_}BlueGreen State{_}, current lifecycle state of FlinkBlueGreenDeployments in given NS.
 ** Analogue of: {{flink_k8soperator_namespace_Lifecycle_State_<state>_Count}}
 * {_}Transition time{_}, how long transition between states took.
 ** Analogue of: {{flink_k8soperator_namespace_Lifecycle_Transition_}}
 * {_}Amount of time spent in state{_}, how long in most recent transition FlinkBlueGreenDeployments was in state.
 ** Analogue of: {{flink_k8soperator_namespace_Lifecycle_State_<state>_TimeSeconds}}



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