lib/ruby-metrics/instruments/histogram.rb in ruby-metrics-0.7.0 vs lib/ruby-metrics/instruments/histogram.rb in ruby-metrics-0.8.0
- old
+ new
@@ -164,15 +164,18 @@
class ExponentialHistogram < Histogram
def initialize
super(:exponential)
end
end
-
+
+ register_instrument(:exponential_histogram, ExponentialHistogram)
+
class UniformHistogram < Histogram
def initialize
super(:uniform)
end
end
-
+
+ register_instrument(:uniform_histogram, UniformHistogram)
end
end