Add blackout period support for `web_exporter:`
What does this MR do?
This adds a blackout period.
The web_exporter: blackout_seconds
is a configuration
that allows to define an interval before restart during which
the health check of export will fail, thus the /readiness
will return the 503
error.
This hooks before stop of the workers, blocking the shutdown
of the workers while making the health check /readiness
to fail.
This allows the load balancer to remove the service from the list while
still discovering that.
References
Based on: !18582 (merged) !18592 (merged) !18575 (merged)
Follow-up to merge after: omnibus-gitlab!3650 (merged)
Part of: #30201 (closed)
Related to: #30037 (closed)
Does this MR meet the acceptance criteria?
Conformity
Edited by 🤖 GitLab Bot 🤖