I'm curious what's missing from InfoStream? Should we add some counters or timers to it? Or maybe make a new thing. However I do like the design it has where you can implement a PrintInfoStream or a JavaLoggingInfoStream or a NullInfoStream
On Tue, Jan 6, 2026 at 2:26 PM Sagar Upadhyay <[email protected]> wrote: > > Hi, > > I was looking for something similar within lucene and agree with providing > hooks within lucene without taking any dependencies. > Wondering if someone is already working on this one? Otherwise I would be > interested to take an initial stab at it. > > ~Sagar > > On Tue, Oct 7, 2025 at 11:04 AM Chris Hostetter <[email protected]> > wrote: >> >> >> : > > IMO Lucene should just be a library with ~no dependencies. It just >> : > needs to expose the right callbacks to allow for easy observability >> higher >> : > up the stack. >> >> : > ++ This makes sense to me. I’d rather make telemetry more straightforward >> : > to capture, rather than try to capture it. >> >> : To this end I think it would be nice if there was an observer pattern for >> : these kinds of callbacks rather than extend-and-override. This would also >> : make it easier to build integrations for different observability >> frameworks. >> >> This is where a lucene module that provides telemetry for major "core" >> lucene clases could be useful -- something completley optional that uses >> the underlying callbacks (or extend-and-override pattern) to add some >> basic telemetry using a third-party library w/an ASF compatible license -- >> that way lucene offers the best of all worlds: >> >> >> 1) a sleek core that doesn't have any external deps ... >> >> 2) but does offer hooks for adding in external functionality ... >> >> 3) which are tested and demonstrated by a module ... >> >> 4) which can be used out of the box by people who find it useful ... >> >> 5) or can serve as an example/tutorial for writing your own using a >> different third-party library. >> >> >> >> -Hoss >> http://www.lucidworks.com/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
