class ScoutApm::Instruments::HistogramReport
Attributes
Public Class Methods
Source
# File lib/scout_apm/instruments/percentile_sampler.rb, line 8 def initialize(name, histogram) @name = name @histogram = histogram end
Public Instance Methods
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