lib/statsd/instrument/strict.rb in statsd-instrument-3.0.0.pre2 vs lib/statsd/instrument/strict.rb in statsd-instrument-3.0.0
- old
+ new
@@ -77,14 +77,9 @@
check_tags_and_sample_rate(sample_rate, tags)
super
end
- def key_value(*)
- raise NotImplementedError, "The key_value metric type will be removed " \
- "from the next major version of statsd-instrument"
- end
-
private
def check_block_or_numeric_value(value)
if block_given?
raise ArgumentError, "The value argument should not be set when providing a block" unless value == UNSPECIFIED