Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'data/deprecations/14-7-sidekiq-metrics-health-check-donfig.yml')
-rw-r--r--data/deprecations/14-7-sidekiq-metrics-health-check-donfig.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/data/deprecations/14-7-sidekiq-metrics-health-check-donfig.yml b/data/deprecations/14-7-sidekiq-metrics-health-check-donfig.yml
new file mode 100644
index 00000000000..34c262b1539
--- /dev/null
+++ b/data/deprecations/14-7-sidekiq-metrics-health-check-donfig.yml
@@ -0,0 +1,30 @@
+- name: "Sidekiq metrics and health checks configuration"
+ announcement_milestone: "14.7"
+ announcement_date: "2021-01-22"
+ removal_milestone: "15.0"
+ removal_date: "2022-05-22"
+ breaking_change: true
+ body: | # Do not modify this line, instead modify the lines below.
+ Exporting Sidekiq metrics and health checks using a single process and port is deprecated.
+ Support will be removed in 15.0.
+
+ We have updated Sidekiq to export [metrics and health checks from two separate processes](https://gitlab.com/groups/gitlab-org/-/epics/6409)
+ to improve stability and availability and prevent data loss in edge cases.
+ As those are two separate servers, a configuration change will be required in 15.0
+ to explicitly set separate ports for metrics and health-checks.
+ The newly introduced settings for `sidekiq['health_checks_*']`
+ should always be set in `gitlab.rb`.
+ For more information, check the documentation for [configuring Sidekiq](https://docs.gitlab.com/ee/administration/sidekiq.html).
+
+ These changes also require updates in either Prometheus to scrape the new endpoint or k8s health-checks to target the new
+ health-check port to work properly, otherwise either metrics or health-checks will disappear.
+
+ For the deprecation period those settings are optional
+ and GitLab will default the Sidekiq health-checks port to the same port as `sidekiq_exporter`
+ and only run one server (not changing the current behaviour).
+ Only if they are both set and a different port is provided, a separate metrics server will spin up
+ to serve the Sidekiq metrics, similar to the way Sidekiq will behave in 15.0.
+ stage: Enablement
+ tiers: [Free, Premium, Ultimate]
+ issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/347509
+ documentation_url: https://docs.gitlab.com/ee/administration/sidekiq.html