lib/statsd/instrument/aggregator.rb in statsd-instrument-3.9.5 vs lib/statsd/instrument/aggregator.rb in statsd-instrument-3.9.6
- old
+ new
@@ -136,10 +136,10 @@
end
def aggregate_timing(name, value, tags: [], no_prefix: false, type: DISTRIBUTION, sample_rate: CONST_SAMPLE_RATE)
unless thread_healthcheck
@sink << datagram_builder(no_prefix: no_prefix).timing_value_packed(
- name, type.to_s, [value], CONST_SAMPLE_RATE, tags
+ name, type.to_s, [value], sample_rate, tags
)
return
end
tags = tags_sorted(tags)