mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
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:
parent
f5335c990a
commit
c8f7aee9b1
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module LogStash
|
||||||
|
|
||||||
start = Time.now
|
start = Time.now
|
||||||
new_events = @filter.multi_filter(events)
|
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
|
# There is no garantee in the context of filter
|
||||||
# that EVENTS_INT == EVENTS_OUT, see the aggregates and
|
# that EVENTS_INT == EVENTS_OUT, see the aggregates and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue