Thanks Ulf, I agree. MBeans need no new dependency and fit the wish to keep the wiki light. A correction to my mail: the admin beans are already registered as MBeans with the platform MBean server by DefaultAdminBeanManager, so JMX is partly there. What is missing is operational data, and I have not checked yet what the existing beans expose. I will change JSPWIKI-1311 to this: first add MBeans with the operational data that is missing, and document Jolokia for access over HTTP.
Micrometer or Prometheus could come later if somebody asks for it. Arturo On Tue, Oct 27, 2026 at 11:43 AM Ulf Dittmer via dev <[email protected]> wrote: > > 4. JSPWIKI-1311, metrics, a health endpoint and structured logging. > > org.apache.wiki.management only has SimpleMBean, and there is no > > Micrometer, Prometheus or health code. > > Rather than adding dependencies to handle observability, I think > adding Mbeans with the desired information might be the simplest way to > go. Though not as standardized (and thus usable by other > languages/clients), I find them easy to query with a tool like VisualVM, > which also allows to manipulate internals. It does require VPN access to > the server, though, so as not to open up the JMX Remote port to the world. > > HTTPS access to Mbeans can still be had using something like Jolokia. > > Ulf >
