diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-21 00:14:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-21 00:14:21 +0300 |
commit | 235f755398a6a199b22e4924e7a81670b0dfdaef (patch) | |
tree | 84a23b2343ef5a4c0bd03d5ab03ba5370f2b5503 /app/services/metrics_service.rb | |
parent | e12ad88e786d7a91d94d92b26bce9e984d9692f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/metrics_service.rb')
-rw-r--r-- | app/services/metrics_service.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/services/metrics_service.rb b/app/services/metrics_service.rb index f39cc1a8534..d27328f89cd 100644 --- a/app/services/metrics_service.rb +++ b/app/services/metrics_service.rb @@ -4,11 +4,7 @@ require 'prometheus/client/formats/text' class MetricsService def prometheus_metrics_text - if Feature.enabled?(:prom_metrics_rust) - ::Prometheus::Client::Formats::Text.marshal_multiprocess(multiprocess_metrics_path, use_rust: true) - else - ::Prometheus::Client::Formats::Text.marshal_multiprocess(multiprocess_metrics_path) - end + ::Prometheus::Client::Formats::Text.marshal_multiprocess(multiprocess_metrics_path) end def metrics_text |