Skip to content
Snippets Groups Projects
Commit b4d62471 authored by Aleksei Lipniagov's avatar Aleksei Lipniagov
Browse files

Improve GC_REPORT_BUCKETS granularity

parent f15e3efb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment