# HG changeset patch
# User Clemens Beck <cbeck@gitlab.com>
# Date 1724683850 -7200
#      Mon Aug 26 16:50:50 2024 +0200
# Node ID dffd28cc89034034e6651446b53df606780dcf24
# Parent  520ec489defae66732c84968abd38faead3f26d0
Remove pg table stats deprecation message

The postgres_exporter['per_table_stats'] was deprecated in 16.4 and
removed in 17.1.

With an upgrade stop at 17.3, the deprecation message can now be
can be removed.

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8170

diff --git a/files/gitlab-cookbooks/package/libraries/deprecations.rb b/files/gitlab-cookbooks/package/libraries/deprecations.rb
--- a/files/gitlab-cookbooks/package/libraries/deprecations.rb
+++ b/files/gitlab-cookbooks/package/libraries/deprecations.rb
@@ -327,12 +327,6 @@
             note: "Starting with GitLab 15.5, jemalloc is compiled in with the Ruby interpreter and can no longer be disabled."
           },
           {
-            config_keys: %w(postgres_exporter per_table_stats),
-            deprecation: '16.4', # Remove message issue: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8170
-            removal: '17.1', # Removed in https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8169. This deprecation entry can be removed after the next upgrade stop.
-            note: "Starting with GitLab 17.0, this directive will be controlled by `postgres_exporter['flags'] = { 'collector.stat_user_tables' => bool }`."
-          },
-          {
             config_keys: %w(gitlab omnibus_gitconfig),
             deprecation: '16.10',
             removal: '17.0',