Commit 1cb0fa18 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '65509-improve-gc-report-buckets-granularity' into 'master'

Improve GC_REPORT_BUCKETS granularity

See merge request gitlab-org/gitlab-ce!32586
parents 6c9b9836 b4d62471
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment