Closed wvanbergen closed 5 years ago
Using as_dist: true is deprecated as argument to StatsD.measure (see #206).
as_dist: true
StatsD.measure
This adds a Rubocop rule that checks for this usage, and tells people to change it to StatsD.distribution. It does the same for the statsd_measure metaprogramming method.
StatsD.distribution
statsd_measure
Added some tests for the new rules, and refactored some stuff into helper methods.
Using
as_dist: true
is deprecated as argument toStatsD.measure
(see #206).This adds a Rubocop rule that checks for this usage, and tells people to change it to
StatsD.distribution
. It does the same for thestatsd_measure
metaprogramming method.