diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /bin/metrics-server | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'bin/metrics-server')
-rwxr-xr-x | bin/metrics-server | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/metrics-server b/bin/metrics-server index d8f2ed9faa4..f8eca93908e 100755 --- a/bin/metrics-server +++ b/bin/metrics-server @@ -9,4 +9,5 @@ raise "METRICS_SERVER_TARGET cannot be blank" if target.blank? metrics_dir = ENV["prometheus_multiproc_dir"] || File.absolute_path("tmp/prometheus_multiproc_dir/#{target}") wipe_metrics_dir = Gitlab::Utils.to_boolean(ENV['WIPE_METRICS_DIR']) || false -Process.wait(MetricsServer.spawn(target, metrics_dir: metrics_dir, wipe_metrics_dir: wipe_metrics_dir)) +server = MetricsServer.new(target, metrics_dir, wipe_metrics_dir) +server.start |