Add auto_deploy_environment_state metric
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
-
Add
auto_deploy_environment_state
metric. -
Also add
EnvironmentState
class for validating state transitions for theauto_deploy_environment_state
metric. Theready
andlocked
states are added in this MR. Other states will be added in subsequent MRs. The reason why the environment is locked (deployment, post-deploy migration, QA) will be tracked in a separate metric, as discussed in gitlab-com/gl-infra/delivery#19907 (comment 1769741456).
gitlab-com/gl-infra/delivery#20062 (closed)
Author Check-list
-
Has documentation been updated?
Edited by Reuben Pereira