class ScoutApm::Instruments::HistogramReport
Attributes
histogram[R]
name[R]
Public Class Methods
new(name, histogram)
click to toggle source
# File lib/scout_apm/instruments/percentile_sampler.rb, line 8 def initialize(name, histogram) @name = name @histogram = histogram end
Public Instance Methods
combine!(other)
click to toggle source
# File lib/scout_apm/instruments/percentile_sampler.rb, line 13 def combine!(other) raise "Mismatched Histogram Names" unless name == other.name histogram.combine!(other.histogram) self end