Add JMX instrumentation to logstash

Description

The reports of performance problems and message rates are bugging me enough that I'm tired of shooting in the dark. I want to add some sort of instrumentation to inputs, filters and outputs controlled by an optional flag in config. Something like

input { tcp { port => 3333 instrument => true } }

That exposes counters (like message rates) as JMX beans.

This way we can have folks turn on instrumentation and use jconsole or jvisualvm to see what the rates are and maybe find these real or perceived bottlenecks.

Environment

None

Status

Assignee

John E. Vincent

Reporter

John E. Vincent

Labels

Fix versions

Affects versions

Priority

Configure