Be explicit in what metadata we support in the method signature.
Ignore sample_rate because it's not suppored.
Accept a Time value for a timestamp.
Accept timestamp rather than date_happened for consistency (but support date_happened as well for now)
Also added a strict mode definition for StatsD.event which will raise an ArgumentError for stuff we no longer want to support in the next major version.
sample_rate
because it's not suppored.timestamp
rather thandate_happened
for consistency (but supportdate_happened
as well for now)Also added a strict mode definition for StatsD.event which will raise an
ArgumentError
for stuff we no longer want to support in the next major version.