Rename :time_ms to :duration_in_millis

This was chosen based on discussion w/ Suyog, Alvin, and others.

Fixes #5472
This commit is contained in:
Jordan Sissel 2016-06-12 19:51:18 -07:00
parent f5335c990a
commit c8f7aee9b1

View file

@ -39,7 +39,7 @@ module LogStash
start = Time.now
new_events = @filter.multi_filter(events)
@filter.metric.increment(:time_ms, ((Time.now - start)*1000).to_i)
@filter.metric.increment(:duration_in_millis, ((Time.now - start)*1000).to_i)
# There is no garantee in the context of filter
# that EVENTS_INT == EVENTS_OUT, see the aggregates and