diff options
author | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-09-03 15:00:34 +0300 |
---|---|---|
committer | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-09-03 15:00:34 +0300 |
commit | b4d62471f17861c307ea2884c73fd1306de98804 (patch) | |
tree | 658c030ed83114495aacccec50de9e947d0d6368 /lib/gitlab/metrics/samplers | |
parent | f15e3efba0e0523575ce61bd80396abda94b8cec (diff) |
Improve GC_REPORT_BUCKETS granularity
Diffstat (limited to 'lib/gitlab/metrics/samplers')
-rw-r--r-- | lib/gitlab/metrics/samplers/ruby_sampler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/metrics/samplers/ruby_sampler.rb b/lib/gitlab/metrics/samplers/ruby_sampler.rb index 3bfa3da35e0..c38769f39a9 100644 --- a/lib/gitlab/metrics/samplers/ruby_sampler.rb +++ b/lib/gitlab/metrics/samplers/ruby_sampler.rb @@ -6,7 +6,7 @@ module Gitlab module Metrics module Samplers class RubySampler < BaseSampler - GC_REPORT_BUCKETS = [0.001, 0.002, 0.005, 0.01, 0.05, 0.1, 0.5].freeze + GC_REPORT_BUCKETS = [0.005, 0.01, 0.02, 0.04, 0.07, 0.1, 0.5].freeze def initialize(interval) GC::Profiler.clear |