diff options
Diffstat (limited to 'config/initializers/7_prometheus_metrics.rb')
-rw-r--r-- | config/initializers/7_prometheus_metrics.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/initializers/7_prometheus_metrics.rb b/config/initializers/7_prometheus_metrics.rb index 15757c05bd0..17ce2a30d66 100644 --- a/config/initializers/7_prometheus_metrics.rb +++ b/config/initializers/7_prometheus_metrics.rb @@ -95,13 +95,6 @@ if Gitlab::Runtime.web_server? Gitlab::Metrics::Exporter::WebExporter.instance.start end - # DEPRECATED: TO BE REMOVED - # This is needed to implement blackout period of `web_exporter` - # https://gitlab.com/gitlab-org/gitlab/issues/35343#note_238479057 - Gitlab::Cluster::LifecycleEvents.on_before_blackout_period do - Gitlab::Metrics::Exporter::WebExporter.instance.mark_as_not_running! - end - Gitlab::Cluster::LifecycleEvents.on_before_graceful_shutdown do # We need to ensure that before we re-exec or shutdown server # we do stop the exporter |