Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/memory/reporter.rb')
-rw-r--r--lib/gitlab/memory/reporter.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/memory/reporter.rb b/lib/gitlab/memory/reporter.rb
index db0fd24983b..8d32745ac34 100644
--- a/lib/gitlab/memory/reporter.rb
+++ b/lib/gitlab/memory/reporter.rb
@@ -26,13 +26,13 @@ module Gitlab
perf_report: report.name
))
- start_monotonic_time = Gitlab::Metrics::System.monotonic_time
- start_thread_cpu_time = Gitlab::Metrics::System.thread_cpu_time
+ start_monotonic_time = ::Gitlab::Metrics::System.monotonic_time
+ start_thread_cpu_time = ::Gitlab::Metrics::System.thread_cpu_time
report_file = store_report(report)
- cpu_s = Gitlab::Metrics::System.thread_cpu_duration(start_thread_cpu_time)
- duration_s = Gitlab::Metrics::System.monotonic_time - start_monotonic_time
+ cpu_s = ::Gitlab::Metrics::System.thread_cpu_duration(start_thread_cpu_time)
+ duration_s = ::Gitlab::Metrics::System.monotonic_time - start_monotonic_time
@logger.info(
log_labels(