2022-01-17 10:16:12 -05:00
|
|
|
- name: "Sidekiq metrics and health checks configuration"
|
|
|
|
announcement_milestone: "14.7"
|
|
|
|
announcement_date: "2021-01-22"
|
2022-01-19 10:14:05 -05:00
|
|
|
removal_milestone: "15.0"
|
2022-01-17 10:16:12 -05:00
|
|
|
removal_date: "2022-05-22"
|
|
|
|
breaking_change: true
|
2022-03-03 07:14:02 -05:00
|
|
|
body: | # Do not modify this line, instead modify the lines below.
|
2022-01-17 10:16:12 -05:00
|
|
|
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
|
2022-01-19 10:14:05 -05:00
|
|
|
tiers: [Free, Premium, Ultimate]
|
2022-01-17 10:16:12 -05:00
|
|
|
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/347509
|
|
|
|
documentation_url: https://docs.gitlab.com/ee/administration/sidekiq.html
|