Hi Jörg,

On Tue, 2022-03-01 at 17:59 +0100, Jörg Hoh wrote:
> Hi,
> 
> I am currently trying to make Jetty MBeans available as Sling
> Metrics, so
> we can post-process them from there. I thought about integrating it
> directly in the Felix HTTP module, but the functionality is quite
> generic,
> and there might be code around, which already supports MBeans for
> monitoring but no (Sling) Metrics.
> 
> I pushed a first simple version to the Sling Whiteboard (
> https://github.com/apache/sling-whiteboard/tree/master/jmx-exporter)
> for
> review.
> 
> What is your opinion? Would such a simple and small bundle be
> benefical for
> Sling or should I rather try to get it directly in Felix, as Jetty is
> the
> only real usecase for such a feature?

Since the bundle exports JMX information as _Sling_ metrics, I think it
should end up in Sling.

It's worth mentioning that the Sling metrics bundle does not depend on
other Sling bundles at runtime, and as such is a good candidate for
moving to Felix, but I think that's a longer discussion.

Thanks,
Robert

Reply via email to