Metrics filter is broken
Description
Gliffy Diagrams
Activity
Show:

Jason Kendall March 17, 2014 at 3:20 PM
PR merged - Closing.
Bernd Ahlers October 3, 2013 at 12:15 PM
I created a pull request to restore the periodic filter flush thread.
Bernd Ahlers October 2, 2013 at 11:46 PM
Confirmend. Looks like this got lost during the agent -> agent2 migration in commit https://github.com/logstash/logstash/commit/9542246.
Avishai Ish-Shalom September 4, 2013 at 10:41 AM
i did, then i reviewed the code. the problem is that metric events are generated using the `flush` method which is never called.

Richard Pijnenburg September 4, 2013 at 10:17 AM
Could you run Logstash with the -vv option behind it and try it?
it should give some debuging output then.
Metrics filter does not flush aggregated metrics. it seems that Logstash::FilterWorker is not instantiated and therefore flush logic is never executed.