[
https://issues.apache.org/jira/browse/FLINK-38787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-38787:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)